Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
5HT committed Feb 5, 2024
1 parent cd73ade commit 348ed21
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/up_rest.ex
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ defmodule UP.HTTP do
"id" => id,
"result" => UP.Serial.fromRecord(newObject),
"spec" => spec }]))
_ -> send_resp(conn, 400,
_ -> :io.format 'PUT:/#{type} AUTH FAILED: ~p~n', [auth]
send_resp(conn, 400,
encode([%{ "error" => "Authorization",
"text" => "Account key doesn't match." }])) end end

Expand Down

0 comments on commit 348ed21

Please sign in to comment.