diff --git a/models/Keys.moon b/models/Keys.moon index e08248f..192029c 100644 --- a/models/Keys.moon +++ b/models/Keys.moon @@ -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