Server/project/src/callbacks/PresetCallbacks.ts
Alex d13e86ba46 Rebranding to SPT (!345)
Rebranded src code and scripts to SPT

Co-authored-by: clodan <clodan@clodan.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/345
Co-authored-by: Alex <clodan@noreply.dev.sp-tarkov.com>
Co-committed-by: Alex <clodan@noreply.dev.sp-tarkov.com>
2024-05-21 17:59:04 +00:00

21 lines
492 B
TypeScript

import { inject, injectable } from "tsyringe";
import { PresetController } from "@spt/controllers/PresetController";
import { OnLoad } from "@spt/di/OnLoad";
@injectable()
export class PresetCallbacks implements OnLoad
{
constructor(@inject("PresetController") protected presetController: PresetController)
{}
public async onLoad(): Promise<void>
{
this.presetController.initialize();
}
public getRoute(): string
{
return "spt-presets";
}
}