mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
refactor: load settings
This commit is contained in:
@@ -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`.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user