Skip to content

Commit

Permalink
format the code
Browse files Browse the repository at this point in the history
  • Loading branch information
Behzad-rabiei committed Apr 3, 2024
1 parent d8869ed commit 08c668c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion __tests__/unit/models/user.model.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ describe('User model', () => {
discordId: '1234',
email: '[email protected]',
communities: [new Types.ObjectId(), new Types.ObjectId()],
unverifiedTelegramUsername: "alex_jane"
unverifiedTelegramUsername: 'alex_jane',
};
});

Expand Down
4 changes: 2 additions & 2 deletions src/models/schemas/User.schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ const userSchema = new Schema<IUser, UserModel>(
type: Date,
},
unverifiedTelegramUsername: {
type: String
}
type: String,
},
},
{ timestamps: true },
);
Expand Down

0 comments on commit 08c668c

Please sign in to comment.