Restore caller-scoped Delamain pool metadata

This commit is contained in:
takuya committed 2026-11-29 13:22:39 +03:00
1 parent 02e1428ff6
commit a39c4e2f44
2 files changed
+62 -2

No files matched your search

+5
View File
@@ -86,6 +86,11 @@ func (g *apiGuard) ServeHTTP(w http.ResponseWriter, r *http.Request) {
g.readSlice(w, r)
return
}
case "/api/pool":
if r.Method == http.MethodGet {
g.poolMetadata(w, r)
return
}
}
if r.Method == http.MethodGet && strings.HasPrefix(r.URL.Path, "/api/trips/") {