diff --git a/src/pages/api/users/index.ts b/src/pages/api/users/index.ts index 0b523c70..991986e8 100644 --- a/src/pages/api/users/index.ts +++ b/src/pages/api/users/index.ts @@ -13,7 +13,7 @@ export interface UsersRequestBody { username: string; password: string; id: string; - role?: Role; + role: Role; } import * as yup from 'yup';