diff --git a/packages/nocodb/src/lib/services/apiToken.svc.ts b/packages/nocodb/src/lib/services/apiToken.svc.ts index de1b70846b..9b1c2ca89a 100644 --- a/packages/nocodb/src/lib/services/apiToken.svc.ts +++ b/packages/nocodb/src/lib/services/apiToken.svc.ts @@ -13,7 +13,7 @@ export async function apiTokenCreate(param: { userId: string; tokenBody: ApiTokenReqType; }) { - await validatePayload( + validatePayload( 'swagger.json#/components/schemas/ApiTokenReq', param.tokenBody );