1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2024-11-22 13:29:21 +00:00

Fix bad column name

This commit is contained in:
Pierre HUBERT 2021-04-11 18:39:31 +02:00
parent 9c6bd0a75a
commit 81832003ea

View File

@ -67,7 +67,7 @@ pub fn login_user(email: &str, password: &str, client: &APIClient) -> ResultBoxE
.add_str("token", &new_token.token)
.add_u64("last_refresh", new_token.last_refresh)
.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()?;
Ok(new_token.token)