Browse Source

fix(gui-v2): revise dbTable patch properties

pull/3117/head
Wing-Kam Wong 2 years ago
parent
commit
54a6999ddd
  1. 2
      packages/nocodb-sdk/src/lib/Api.ts
  2. 5
      scripts/sdk/swagger.json

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

@ -1486,7 +1486,7 @@ export class Api<
*/ */
update: ( update: (
tableId: string, tableId: string,
data: { title?: string }, data: { table_name?: string; project_id?: string },
params: RequestParams = {} params: RequestParams = {}
) => ) =>
this.request<any, any>({ this.request<any, any>({

5
scripts/sdk/swagger.json

@ -1309,7 +1309,10 @@
"schema": { "schema": {
"type": "object", "type": "object",
"properties": { "properties": {
"title": { "table_name": {
"type": "string"
},
"project_id": {
"type": "string" "type": "string"
} }
} }

Loading…
Cancel
Save