mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2024-11-26 07:19:22 +00:00
Fix bad column name
This commit is contained in:
parent
9c6bd0a75a
commit
81832003ea
@ -67,7 +67,7 @@ pub fn login_user(email: &str, password: &str, client: &APIClient) -> ResultBoxE
|
|||||||
.add_str("token", &new_token.token)
|
.add_str("token", &new_token.token)
|
||||||
.add_u64("last_refresh", new_token.last_refresh)
|
.add_u64("last_refresh", new_token.last_refresh)
|
||||||
.add_u64("timeout", new_token.timeout)
|
.add_u64("timeout", new_token.timeout)
|
||||||
.add_opt_str("push_notification_token", new_token.push_notifications_token.to_db().as_ref())
|
.add_opt_str("push_notifications_token", new_token.push_notifications_token.to_db().as_ref())
|
||||||
.insert_drop_result()?;
|
.insert_drop_result()?;
|
||||||
|
|
||||||
Ok(new_token.token)
|
Ok(new_token.token)
|
||||||
|
Loading…
Reference in New Issue
Block a user