From 11a15b27d3722ff5060a0da2029cf3d21979a9f1 Mon Sep 17 00:00:00 2001 From: Rory Powell Date: Thu, 1 Dec 2022 14:44:56 +0000 Subject: [PATCH] build fix --- packages/worker/src/api/routes/global/users.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/worker/src/api/routes/global/users.ts b/packages/worker/src/api/routes/global/users.ts index 84c79fb97c..399a412a61 100644 --- a/packages/worker/src/api/routes/global/users.ts +++ b/packages/worker/src/api/routes/global/users.ts @@ -38,7 +38,7 @@ function buildInviteMultipleValidation() { )) } -const createUserAdminOnly = (ctx, next) => { +const createUserAdminOnly = (ctx: any, next: any) => { if (!ctx.request.body._id) { return auth.adminOnly(ctx, next) } else {