From d484dc60117f67f627aef0558091679d18e6778f Mon Sep 17 00:00:00 2001 From: Mel O'Hagan Date: Tue, 29 Nov 2022 17:23:54 +0000 Subject: [PATCH] lint --- packages/worker/src/api/controllers/global/users.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/worker/src/api/controllers/global/users.ts b/packages/worker/src/api/controllers/global/users.ts index 9d7349851b..0d2e5b3c7f 100644 --- a/packages/worker/src/api/controllers/global/users.ts +++ b/packages/worker/src/api/controllers/global/users.ts @@ -23,7 +23,7 @@ const MAX_USERS_UPLOAD_LIMIT = 1000 export const save = async (ctx: any) => { try { - const body = ctx.request.body + const body = ctx.request.body const isCreate = !body._id const isAdmin = !!ctx.user.admin?.global if (isCreate && !isAdmin) {