Commit 6793a2f1 authored by Leo Iannacone's avatar Leo Iannacone

correctly check for existing key

parent 168aa2b8
......@@ -60,7 +60,7 @@ class Debomatic
key += "/#{status.status}" if status.status?
return key
key = get_key(data)
if data.hasOwnProperty("success") and @status.key?
if data.hasOwnProperty("success") and @status[key]?
delete @status[key]
else
@status[key] = data
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment