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) =>
|
@create: (values, opts) =>
|
||||||
while true
|
while true
|
||||||
values.uuid = uuid!
|
values.uuid = uuid!
|
||||||
if Keys\find uuid: values.uuid
|
unless Keys\find uuid: values.uuid
|
||||||
break
|
continue
|
||||||
super values, opts
|
super values, opts
|
||||||
|
Loading…
Reference in New Issue
Block a user