controller/users: update user correctly

This commit is contained in:
Sam Dodrill 2015-01-07 14:42:34 -08:00
parent 0bdc0a6e3d
commit d9eb308dd6
1 changed files with 1 additions and 1 deletions

View File

@ -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