fix(feedback): await github issue creation

Worker was terminating before the async GitHub API call
could complete. Adding await ensures the issue is created
before the response is returned.
This commit is contained in:
Nicholai Vogel 2026-01-24 14:04:08 -07:00
parent 41fdfd9e4c
commit f181387099

View File

@ -78,7 +78,7 @@ export async function POST(request: Request) {
createdAt,
})
createGithubIssue(env, db, id, {
await createGithubIssue(env, db, id, {
type,
message: message.trim(),
name: name?.trim(),