build fix
This commit is contained in:
parent
7a7bbd1857
commit
11a15b27d3
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue