Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
peteraba committed Apr 8, 2018
1 parent d10b130 commit bea17f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bea17f6

Please sign in to comment.