jivan icon indicating copy to clipboard operation
jivan copied to clipboard

Replace jsonError() with generalized content-type error function.

Open JivanAmara opened this issue 7 years ago • 0 comments

Right now, errors that are reported back to service users are always in json despite html support being added. This is easy to resolve, by replacing the handlers.go jsonError() with a function that takes a content type string as a parameter.

JivanAmara avatar May 10 '18 00:05 JivanAmara