Skip to content

Commit

Permalink
'delete timeboard' API returns 204 when the deletion was successful
Browse files Browse the repository at this point in the history
  • Loading branch information
aibou committed Aug 21, 2017
1 parent 292a3d5 commit 7d06352
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dashdog/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def update_timeboard(tb)

def delete_timeboard(id)
ret = @api.delete_dashboard(id)
raise RuntimeError, ret[1]['errors'] if ret[0] != '200'
raise RuntimeError, ret[1]['errors'] if ret[0] != '204'
end

def create_screenboard(sb)
Expand Down

0 comments on commit 7d06352

Please # to comment.