Browse Source

fix: add missing wrapped property back

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/5222/head
Pranav C 2 years ago
parent
commit
6072bb4335
  1. 2
      packages/nocodb-sdk/src/lib/Api.ts
  2. 3
      packages/nocodb/src/schema/swagger.json

2
packages/nocodb-sdk/src/lib/Api.ts

@ -5152,6 +5152,7 @@ export class Api<
this.request<any, any>({ this.request<any, any>({
path: `/api/v1/db/data/${orgs}/${projectName}/${tableName}/export/${type}`, path: `/api/v1/db/data/${orgs}/${projectName}/${tableName}/export/${type}`,
method: 'GET', method: 'GET',
wrapped: true,
...params, ...params,
}), }),
@ -5776,6 +5777,7 @@ export class Api<
this.request<any, any>({ this.request<any, any>({
path: `/api/v1/db/public/shared-view/${sharedViewUuid}/rows/export/${type}`, path: `/api/v1/db/public/shared-view/${sharedViewUuid}/rows/export/${type}`,
method: 'GET', method: 'GET',
wrapped: true,
...params, ...params,
}), }),

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

@ -6115,6 +6115,7 @@
"operationId": "db-view-row-export", "operationId": "db-view-row-export",
"description": "Export Table View Rows by CSV or Excel", "description": "Export Table View Rows by CSV or Excel",
"tags": ["DB View Row"], "tags": ["DB View Row"],
"wrapped": true,
"responses": { "responses": {
"200": { "200": {
"description": "OK", "description": "OK",
@ -6175,6 +6176,7 @@
"operationId": "db-table-row-csv-export", "operationId": "db-table-row-csv-export",
"description": "Export Table View Rows by CSV or Excel", "description": "Export Table View Rows by CSV or Excel",
"tags": ["DB Table Row"], "tags": ["DB Table Row"],
"wrapped": true,
"responses": { "responses": {
"200": { "200": {
"description": "OK", "description": "OK",
@ -6954,6 +6956,7 @@
"summary": "Export Rows in Share View", "summary": "Export Rows in Share View",
"operationId": "public-csv-export", "operationId": "public-csv-export",
"description": "Export all rows in Share View in a CSV / Excel Format", "description": "Export all rows in Share View in a CSV / Excel Format",
"wrapped": true,
"responses": { "responses": {
"200": { "200": {
"description": "OK", "description": "OK",

Loading…
Cancel
Save