WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 229cfd8

Browse files
committed
Fix missing async
1 parent a3e0220 commit 229cfd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/src/routes/github-token/+server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { RequestHandler } from "@sveltejs/kit";
22

3-
export const POST: RequestHandler = ({ url }) => {
3+
export const POST: RequestHandler = async ({ url }) => {
44
const code = url.searchParams.get("code");
55
if (!code) {
66
return new Response("Missing code parameter", { status: 400 });

0 commit comments

Comments
 (0)