Add static name exports to all services

This commit is contained in:
Alex Holliday committed 2024-12-24 11:58:26 -08:00
1 parent 7c1442e32f
commit 8b0af64761
6 files changed
+17 -4

No files matched your search

+4 -1
View File
@@ -1,4 +1,7 @@
const SERVICE_NAME = "StatusService";
class StatusService {
static SERVICE_NAME = SERVICE_NAME;
/**
* Creates an instance of StatusService.
*
@@ -8,7 +11,7 @@ class StatusService {
constructor(db, logger) {
this.db = db;
this.logger = logger;
this.SERVICE_NAME = "StatusService";
this.SERVICE_NAME = SERVICE_NAME;
}
getStatusString = (status) => {