We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d2d34d3 commit 8b847fbCopy full SHA for 8b847fb
packages/rest/rest.extension.ts
@@ -127,7 +127,7 @@ class RestExtension implements KitesExtension {
127
128
// invoke controller's action
129
// const ctrl = await this.kites.container.inject<any>(controller);
130
- const value = ctrl[key](...args);
+ const value = await ctrl[key](...args);
131
132
if (value instanceof HttpResponseMessage) {
133
await this.handleHttpResponseMessage(value, res);
0 commit comments