controller/users: update user correctly
This commit is contained in:
parent
0bdc0a6e3d
commit
d9eb308dd6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue