Skip to content

Commit

Permalink
Fix sending a response twice in mockSiteRouter
Browse files Browse the repository at this point in the history
  • Loading branch information
rakyi committed May 6, 2024
1 parent 814ad01 commit cce974b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions adminSiteServer/mockSiteRouter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,7 @@ getPlainRouteNonIdempotentWithRWTransaction(
try {
const page = await renderGdocsPageBySlug(trx, slug)
res.send(page)
return
} catch (e) {
console.error(e)
}
Expand Down

0 comments on commit cce974b

Please sign in to comment.