Skip to content

Commit

Permalink
Update index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
zemd authored Apr 7, 2024
1 parent aa3cf96 commit f5123a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apis/figma/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const figma = (accessToken: string, opts?: { debug?: boolean; url?: strin
fn: ArgFn,
): TEndpointResFn<ArgFnParams> => {
const globalTransformers: Array<TTransformer> = [
prefix(opts?.url ?? "https://api.figma.com/v1"),
prefix(opts?.url ?? "https://api.figma.com"),
json(),
figmaToken(accessToken),
];
Expand Down

0 comments on commit f5123a3

Please sign in to comment.