Browse Source

fix: update generated api

Signed-off-by: mertmit <mertmit99@gmail.com>
pull/1620/head
mertmit 3 years ago
parent
commit
92f5d3ffcc
  1. 6
      packages/nocodb-sdk/src/lib/Api.ts

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

@ -2690,19 +2690,19 @@ export class Api<
* *
* @tags DB View Row * @tags DB View Row
* @name Count * @name Count
* @request GET:/data/{orgs}/{projectName}/{tableAlias}/views/{viewName}/count * @request GET:/api/v1/db/data/{orgs}/{projectName}/{tableName}/views/{viewName}/count
* @response `200` `any` OK * @response `200` `any` OK
*/ */
count: ( count: (
orgs: string, orgs: string,
projectName: string, projectName: string,
tableAlias: string, tableName: string,
viewName: string, viewName: string,
query?: { where?: string; nested?: any }, query?: { where?: string; nested?: any },
params: RequestParams = {} params: RequestParams = {}
) => ) =>
this.request<any, any>({ this.request<any, any>({
path: `/data/${orgs}/${projectName}/${tableAlias}/views/${viewName}/count`, path: `/api/v1/db/data/${orgs}/${projectName}/${tableName}/views/${viewName}/count`,
method: 'GET', method: 'GET',
query: query, query: query,
format: 'json', format: 'json',

Loading…
Cancel
Save