blob: 170abdfbdd2456b45918d5f47ed489e8bef0b4ed (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
import { injectable } from "tsyringe";
import AddonEnabledUseCase from "../usecases/AddonEnabledUseCase";
@injectable()
export default class AddonEnabledController {
constructor(private addonEnabledUseCase: AddonEnabledUseCase) {}
indicate(enabled: boolean): Promise<any> {
return this.addonEnabledUseCase.indicate(enabled);
}
}
|