diff --git a/controllers/users.moon b/controllers/users.moon index 2620ed0..cb21946 100644 --- a/controllers/users.moon +++ b/controllers/users.moon @@ -47,7 +47,7 @@ class User extends lapis.Application user\write_session @ user.extension = "#{1000 + user.id}" - assert Users\update user + user\update "extension" token = Tokens\create { user_id: user.extension