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
@@ -5,7 +5,7 @@ import { AppSettingsModel, type AppSettingsDocument } from "@/domain/app-setting
|
||||
import { toStringId, toDateString } from "@/utils/mongoMappers.js";
|
||||
|
||||
class MongoSettingsRepository implements ISettingsRepository {
|
||||
protected toEntity = (doc: AppSettingsDocument): Settings => {
|
||||
private toEntity = (doc: AppSettingsDocument): Settings => {
|
||||
return {
|
||||
id: toStringId(doc._id),
|
||||
checkTTL: doc.checkTTL,
|
||||
|
||||
Reference in new issue
Block a user