Browse Source

fix: v2 api path correction

pull/9772/head
Pranav C 2 months ago
parent
commit
5232a37af7
  1. 2
      packages/nocodb/src/modules/jobs/jobs/export-import/duplicate.controller.ts
  2. 3
      packages/nocodb/src/schema/swagger.json

2
packages/nocodb/src/modules/jobs/jobs/export-import/duplicate.controller.ts

@ -32,7 +32,7 @@ export class DuplicateController {
@Post([
'/api/v1/db/meta/duplicate/:workspaceId/shared/:sharedBaseId',
'/api/v1/meta/duplicate/:workspaceId/shared/:sharedBaseId',
'/api/v2/meta/duplicate/:workspaceId/shared/:sharedBaseId',
])
@HttpCode(200)
@Acl('duplicateSharedBase', {

3
packages/nocodb/src/schema/swagger.json

@ -4633,8 +4633,7 @@
]
}
},
"/api/v2/meta/duplicate/:workspaceId/shared/{sharedBaseId}": {
"/api/v2/meta/duplicate/{workspaceId}/shared/{sharedBaseId}": {
"post": {
"summary": "Duplicate Shared Base",
"operationId": "base-duplicate-shared",

Loading…
Cancel
Save