build fix
This commit is contained in:
parent
e3fa737a9b
commit
28b29ea7a9
|
@ -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