diff options
Diffstat (limited to 'src/models/User.ts')
-rw-r--r-- | src/models/User.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/models/User.ts b/src/models/User.ts index ff7a3854..76922903 100644 --- a/src/models/User.ts +++ b/src/models/User.ts @@ -160,7 +160,7 @@ export const UserSchema = new Schema({ { id: String, nickname: String, - type: Number, + type: { type: Number }, user_id: String, }, ], @@ -172,7 +172,7 @@ export const UserSchema = new Schema({ name: String, revoked: Boolean, show_activity: Boolean, - type: String, + type: { type: String }, verifie: Boolean, visibility: Number, }, |