Restore caller-scoped Delamain pool metadata
This commit is contained in:
1 parent
02e1428ff6
commit
a39c4e2f44
2 files changed
+62
-2
No files matched your search
@@ -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/") {
|
||||
|
||||
Reference in new issue
Block a user