Skip to main content

USER_NOT_AUTHORIZED_ADMIN

talawa-apiDocs


talawa-api / constants / USER_NOT_AUTHORIZED_ADMIN

Variable: USER_NOT_AUTHORIZED_ADMIN

> const USER_NOT_AUTHORIZED_ADMIN: Readonly<object>

Type declaration

CODE

> CODE: "role.notValid.admin" = "role.notValid.admin"

MESSAGE

> MESSAGE: "Error: Current user must be an ADMIN or a SUPERADMIN" = "Error: Current user must be an ADMIN or a SUPERADMIN"

PARAM

> PARAM: "roleValidationAdmin" = "roleValidationAdmin"

Defined in

src/constants.ts:347