globalPing

This commit is contained in:
Alex Holliday committed 2026-03-04 17:50:27 +00:00
1 parent 1155619835
commit 0b30e23783
8 files changed
+10 -13

No files matched your search

@@ -36,7 +36,7 @@ class MongoInvitesRepository implements IInvitesRepository {
create = async (invite: Partial<Invite>) => {
await InviteModel.deleteMany({ email: invite.email });
invite.token = crypto.randomBytes(32).toString("hex");
let inviteToken = await InviteModel.create(invite);
const inviteToken = await InviteModel.create(invite);
return this.toEntity(inviteToken);
};