forked from Chatbot/v3-api
update for the so many errors
This commit is contained in:
@@ -10,8 +10,9 @@ export class UsersBaseModel {
|
||||
@Prop()
|
||||
family: string;
|
||||
|
||||
@Prop({ required: true })
|
||||
role: Role;
|
||||
/** System role (`admin`/`expert`/…) or a custom ACL role name. */
|
||||
@Prop({ required: true, type: String })
|
||||
role: Role | string;
|
||||
|
||||
@Prop()
|
||||
fatherName: string;
|
||||
|
||||
Reference in New Issue
Block a user