Skip to content

Commit 8b847fb

Browse files
committed
fix missing await result
1 parent d2d34d3 commit 8b847fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/rest/rest.extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ class RestExtension implements KitesExtension {
127127

128128
// invoke controller's action
129129
// const ctrl = await this.kites.container.inject<any>(controller);
130-
const value = ctrl[key](...args);
130+
const value = await ctrl[key](...args);
131131

132132
if (value instanceof HttpResponseMessage) {
133133
await this.handleHttpResponseMessage(value, res);

0 commit comments

Comments
 (0)