Skip to content

Commit

Permalink
feat: use project name rather than sdk in sdk snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenyong committed Jun 25, 2024
1 parent 5e89873 commit cf8ba08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/httpsnippet-client-api/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ const client: Client<APIOptions> = {
}
} else {
sdkPackageName = getProjectPrefixFromRegistryUUID(opts.api.registryURI);
sdkVariable = 'sdk';
sdkVariable = getProjectPrefixFromRegistryUUID(opts.api.registryURI) as string;
}

const operationSlugs = foundOperation.url.slugs;
Expand Down

0 comments on commit cf8ba08

Please sign in to comment.