From 81832003ea334cf70cbdbfde210516f2506db5a9 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Sun, 11 Apr 2021 18:39:31 +0200 Subject: [PATCH] Fix bad column name --- src/helpers/account_helper.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helpers/account_helper.rs b/src/helpers/account_helper.rs index 8d5101c..105c231 100644 --- a/src/helpers/account_helper.rs +++ b/src/helpers/account_helper.rs @@ -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)