protected -> private as no class inherits
This commit is contained in:
1 parent
9c04061a04
commit
3eadb99c5e
8 files changed
+10
-10
No files matched your search
@@ -6,7 +6,7 @@ import crypto from "crypto";
|
||||
import { toStringId, toDateString } from "@/utils/mongoMappers.js";
|
||||
|
||||
class MongoInvitesRepository implements IInvitesRepository {
|
||||
protected toEntity = (doc: InviteDocument): Invite => {
|
||||
private toEntity = (doc: InviteDocument): Invite => {
|
||||
return {
|
||||
id: toStringId(doc._id),
|
||||
email: doc.email,
|
||||
|
||||
Reference in new issue
Block a user