http controller fix

This commit is contained in:
IDONTSUDO 2023-12-04 15:27:37 +03:00
parent 0174d3d540
commit 71cd1061cb

View file

@ -173,11 +173,12 @@ export class CoreHttpController<V> implements ICoreHttpController {
} }
); );
} }
public post(usecase: CallbackStrategyWithValidationModel<V>) { // TODO(IDONTSUDO):need fix to CallbackStrategyWithValidationModel<V>
public post(usecase: any) {
this.routes["POST"] = usecase; this.routes["POST"] = usecase;
} }
public get(usecase: CallbackStrategyWithValidationModel<V>) { public get(usecase: any) {
this.routes["GET"] = usecase; this.routes["GET"] = usecase;
} }
} }