From d9eb308dd6647fc9f0fc2f30e3d0890291e3b92d Mon Sep 17 00:00:00 2001 From: Sam Dodrill Date: Wed, 7 Jan 2015 14:42:34 -0800 Subject: [PATCH] controller/users: update user correctly --- controllers/users.moon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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