WIP: Working on a project detail database request to minimize database calls.

This commit is contained in:
2026-01-26 16:43:16 -05:00
parent e08d896758
commit 1663c0a514
11 changed files with 159 additions and 20 deletions

View File

@@ -192,6 +192,11 @@ extension SiteRoute.View.ProjectRoute {
return await route.renderView(on: request, projectID: projectID)
case .frictionRate(let route):
return await route.renderView(on: request, projectID: projectID)
case .pdf:
return await ResultView {
try await projectClient.toHTML(projectID)
}
// fatalError()
case .rooms(let route):
return await route.renderView(on: request, projectID: projectID)
}