From 123f1ad1a7b0bd31bae28ddd437f60a3c8498906 Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Thu, 9 Mar 2023 18:19:02 +0800 Subject: [PATCH] refactor(nocodb): remove await from validatePayload --- packages/nocodb/src/lib/services/apiToken.svc.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 );