Change to trace and make a deploy for tickle
This commit is contained in:
@@ -34,8 +34,8 @@ func who(g storage.Graph, w http.ResponseWriter, r *http.Request) error {
|
||||
return whoDelete(namespace, g, w, r)
|
||||
case http.MethodPatch:
|
||||
return whoPatch(namespace, g, w, r)
|
||||
case http.MethodHead:
|
||||
return whoHead(namespace, g, w, r)
|
||||
case http.MethodTrace:
|
||||
return whoTrace(namespace, g, w, r)
|
||||
default:
|
||||
http.NotFound(w, r)
|
||||
return nil
|
||||
@@ -183,7 +183,7 @@ func whoPatch(namespace string, g storage.Graph, w http.ResponseWriter, r *http.
|
||||
return whoGet(namespace, g, w, r)
|
||||
}
|
||||
|
||||
func whoHead(namespace string, g storage.Graph, w http.ResponseWriter, r *http.Request) error {
|
||||
func whoTrace(namespace string, g storage.Graph, w http.ResponseWriter, r *http.Request) error {
|
||||
ones, err := g.List(r.Context(), namespace)
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user