http controller fix
This commit is contained in:
parent
0174d3d540
commit
71cd1061cb
1 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
public get(usecase: CallbackStrategyWithValidationModel<V>) {
|
||||
public get(usecase: any) {
|
||||
this.routes["GET"] = usecase;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue