From 6072bb43353ba6506aa6b81cbac93aade9f345c9 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Sat, 4 Mar 2023 19:23:54 +0530 Subject: [PATCH] fix: add missing wrapped property back Signed-off-by: Pranav C --- packages/nocodb-sdk/src/lib/Api.ts | 2 ++ packages/nocodb/src/schema/swagger.json | 3 +++ 2 files changed, 5 insertions(+) diff --git a/packages/nocodb-sdk/src/lib/Api.ts b/packages/nocodb-sdk/src/lib/Api.ts index 9f434b8cae..87ac41f885 100644 --- a/packages/nocodb-sdk/src/lib/Api.ts +++ b/packages/nocodb-sdk/src/lib/Api.ts @@ -5152,6 +5152,7 @@ export class Api< this.request({ path: `/api/v1/db/data/${orgs}/${projectName}/${tableName}/export/${type}`, method: 'GET', + wrapped: true, ...params, }), @@ -5776,6 +5777,7 @@ export class Api< this.request({ path: `/api/v1/db/public/shared-view/${sharedViewUuid}/rows/export/${type}`, method: 'GET', + wrapped: true, ...params, }), diff --git a/packages/nocodb/src/schema/swagger.json b/packages/nocodb/src/schema/swagger.json index e0d7940999..253184707a 100644 --- a/packages/nocodb/src/schema/swagger.json +++ b/packages/nocodb/src/schema/swagger.json @@ -6115,6 +6115,7 @@ "operationId": "db-view-row-export", "description": "Export Table View Rows by CSV or Excel", "tags": ["DB View Row"], + "wrapped": true, "responses": { "200": { "description": "OK", @@ -6175,6 +6176,7 @@ "operationId": "db-table-row-csv-export", "description": "Export Table View Rows by CSV or Excel", "tags": ["DB Table Row"], + "wrapped": true, "responses": { "200": { "description": "OK", @@ -6954,6 +6956,7 @@ "summary": "Export Rows in Share View", "operationId": "public-csv-export", "description": "Export all rows in Share View in a CSV / Excel Format", + "wrapped": true, "responses": { "200": { "description": "OK",