err in creating new keys leading to infinite loop
This commit is contained in:
parent
548758abf5
commit
083bfbb427
@ -17,6 +17,6 @@ class Keys extends Model
|
||||
@create: (values, opts) =>
|
||||
while true
|
||||
values.uuid = uuid!
|
||||
if Keys\find uuid: values.uuid
|
||||
break
|
||||
unless Keys\find uuid: values.uuid
|
||||
continue
|
||||
super values, opts
|
||||
|
Loading…
Reference in New Issue
Block a user