build fix

This commit is contained in:
Rory Powell 2022-12-01 14:44:56 +00:00
parent 7a7bbd1857
commit 11a15b27d3
1 changed files with 1 additions and 1 deletions

View File

@ -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 {