refactor: load settings

This commit is contained in:
Mohamed Marrouchi
2024-09-13 15:27:48 +01:00
parent 51931f883b
commit d60c5dfa86
3 changed files with 24 additions and 39 deletions

View File

@@ -58,16 +58,6 @@ export class SettingController {
return await this.settingService.find(filters, sort);
}
/**
* Loads all settings available in the system.
*
* @returns A list of all settings.
*/
@Get('load')
async load() {
return await this.settingService.load();
}
/**
* Updates a setting by its ID. If the setting does not exist, throws a `NotFoundException`.
*