same "fix" as passwd0

This commit is contained in:
Paul Liverman III 2018-09-09 21:51:39 -07:00
parent 4fe5e653dc
commit 5b133e6998

View File

@ -4,7 +4,9 @@ import max from math
api = (tab) ->
json_params capture_errors {
respond_to(tab),
=>
result = respond_to(tab)
return json: result,
on_error: =>
status = 400
errors = {}