Skip to content

Commit

Permalink
Merge pull request #9 from aibou/master
Browse files Browse the repository at this point in the history
'delete timeboard' API returns 204 when the deletion was successful
  • Loading branch information
marcy-terui authored Aug 24, 2017
2 parents 292a3d5 + 7d06352 commit 33180a6
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 33180a6

Please # to comment.