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:
parent
41fdfd9e4c
commit
f181387099
@ -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(),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user