Skip to content

Commit 2fff02e

Browse files
committed
🐛 send instead of return
1 parent f29e2fa commit 2fff02e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/models/controller.model.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1337,7 +1337,7 @@ export class Controller {
13371337

13381338
const { apiKey } = await this.adapter.handleOAuth2Callback(req, res);
13391339

1340-
return apiKey;
1340+
res.send(apiKey);
13411341
} catch (error) {
13421342
errorLogger(
13431343
'oAuth2Callback',

0 commit comments

Comments
 (0)