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
@@ -20,7 +20,7 @@ class MongoUsersRepository implements IUsersRepository {
|
||||
};
|
||||
};
|
||||
|
||||
protected toEntity = (doc: UserDocument): User => {
|
||||
private toEntity = (doc: UserDocument): User => {
|
||||
return {
|
||||
id: toStringId(doc._id),
|
||||
firstName: doc.firstName,
|
||||
|
||||
Reference in new issue
Block a user