Skip to content

Commit

Permalink
fix: await responding
Browse files Browse the repository at this point in the history
  • Loading branch information
boywithkeyboard committed Apr 4, 2024
1 parent fe46e34 commit 8b9f540
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion registry/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ async function respondWith(res: FastifyReply, statusCode: number, body: string |
}

res.code(statusCode)
res.send(body)
await res.send(body)

if (options.resolve) {
await options.resolve
Expand Down

0 comments on commit 8b9f540

Please sign in to comment.