remove unused getters
This commit is contained in:
1 parent
c961f5292d
commit
586e79efb2
45 files changed
-262
No files matched your search
@@ -10,7 +10,6 @@ import { Settings } from "@/domain/app-settings/app-settings.type.js";
|
||||
const SERVICE_NAME = "SettingsController";
|
||||
|
||||
export interface ISettingsController {
|
||||
serviceName: string;
|
||||
getAppSettings: RequestHandler;
|
||||
updateAppSettings: RequestHandler;
|
||||
sendTestEmail: RequestHandler;
|
||||
@@ -25,10 +24,6 @@ class SettingsController implements ISettingsController {
|
||||
this.emailService = emailService;
|
||||
}
|
||||
|
||||
get serviceName() {
|
||||
return SettingsController.SERVICE_NAME;
|
||||
}
|
||||
|
||||
buildAppSettings = (dbSettings: Settings) => {
|
||||
const sanitizedSettings: Record<string, unknown> = { ...dbSettings };
|
||||
delete sanitizedSettings.version;
|
||||
|
||||
Reference in new issue
Block a user