From bea17f6a8028a7ee388efd2422ff1d42f39f38cf Mon Sep 17 00:00:00 2001 From: Peter Aba Date: Sun, 8 Apr 2018 15:30:38 +0200 Subject: [PATCH] Fixup --- api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.go b/api.go index 98268ed..aea6ba7 100644 --- a/api.go +++ b/api.go @@ -119,7 +119,7 @@ func DynamicEndpoint(w http.ResponseWriter, r *http.Request) { } responseText := fmt.Sprintf("apidemic: %s has no %s endpoint", vars["endpoint"], r.Method) - RenderJSON(w, http.StatusNotFound, NewResponse(responseText) + RenderJSON(w, http.StatusNotFound, NewResponse(responseText)) } // NewResponse helper for response JSON message