mirror of
https://github.com/n08i40k/schedule-parser-rusted.git
synced 2025-12-06 09:47:50 +03:00
feat: implement service users
This commit is contained in:
@@ -58,10 +58,7 @@ pub async fn telegram_complete(
|
||||
|
||||
active_user.group = Set(Some(data.group));
|
||||
|
||||
active_user
|
||||
.update(db)
|
||||
.await
|
||||
.expect("Failed to update user");
|
||||
active_user.update(db).await.expect("Failed to update user");
|
||||
|
||||
Ok(()).into()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user