protected -> private as no class inherits

This commit is contained in:
Alex Holliday committed 2026-07-20 10:01:48 -07:00
1 parent 9c04061a04
commit 3eadb99c5e
8 files changed
+10 -10

No files matched your search

@@ -33,7 +33,7 @@ class MongoIncidentsRepository implements IIncidentsRepository {
return matchStage;
}
protected toEntity = (doc: IncidentDocument): Incident => {
private toEntity = (doc: IncidentDocument): Incident => {
return {
id: toStringId(doc._id),
monitorId: toStringId(doc.monitorId),
@@ -52,7 +52,7 @@ class MongoIncidentsRepository implements IIncidentsRepository {
};
};
protected mapDocuments = (documents: IncidentDocument[] | IncidentDocument | null): Incident[] => {
private mapDocuments = (documents: IncidentDocument[] | IncidentDocument | null): Incident[] => {
if (!documents) {
return [];
}