Skip to content

Commit

Permalink
Fix typo in project import (#353)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomski747 authored Mar 25, 2024
1 parent ad53968 commit aa1b0db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/management/project.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ describe('import', () => {
const resp = await management.project.import({ 'foo/bar.json': { foo: 'bar' } });

expect(mockHttpClient.post).toHaveBeenCalledWith(
apiPaths.project.export,
apiPaths.project.import,
{
files: {
'foo/bar.json': {
Expand Down
2 changes: 1 addition & 1 deletion lib/management/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const withProject = (sdk: CoreSdk, managementKey?: string) => ({
import: (files: Record<string, any>): Promise<SdkResponse<never>> =>
transformResponse(
sdk.httpClient.post(
apiPaths.project.export,
apiPaths.project.import,
{
files,
},
Expand Down

0 comments on commit aa1b0db

Please sign in to comment.