Browse Source

refactor(nocodb): remove await from validatePayload

pull/5269/head
Wing-Kam Wong 2 years ago
parent
commit
123f1ad1a7
  1. 2
      packages/nocodb/src/lib/services/apiToken.svc.ts

2
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
);

Loading…
Cancel
Save