Skip to content

Commit c41692e

Browse files
fix(KoaDriver): return result from authorization check
1 parent 27055d0 commit c41692e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/driver/koa/KoaDriver.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ export class KoaDriver extends BaseDriver implements Driver {
103103
};
104104

105105
if (isPromiseLike(checkResult)) {
106-
checkResult.then(result => handleError(result));
106+
return checkResult.then(result => handleError(result));
107107
} else {
108108
handleError(checkResult);
109109
}

0 commit comments

Comments
 (0)