Skip to content

Commit

Permalink
🐛 fix broken explorer and datapage preview pages
Browse files Browse the repository at this point in the history
  • Loading branch information
danyx23 committed Mar 23, 2024
1 parent 6d2d495 commit a3e89b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions adminSiteServer/adminRouter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ getPlainRouteWithROTransaction(
)
return `File not found`
const explorer = await explorerAdminServer.getExplorerFromFile(filename)
const explorerPage = renderExplorerPage(explorer, knex)
const explorerPage = await renderExplorerPage(explorer, knex)

return res.send(explorerPage)
}
Expand All @@ -327,7 +327,7 @@ getPlainRouteNonIdempotentWithRWTransaction(
if (!variableMetadata) throw new JsonError("No such variable", 404)

res.send(
renderDataPageV2(
await renderDataPageV2(
{
variableId,
variableMetadata,
Expand Down

0 comments on commit a3e89b2

Please sign in to comment.