mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-08-08 03:59:10 +00:00
fix: typos
Signed-off-by: guoguangwu <guoguangwug@gmail.com>
This commit is contained in:
parent
79ce5b49bc
commit
81116dbf23
1 changed files with 2 additions and 2 deletions
|
@ -114,11 +114,11 @@ pub async fn register_push_device(device: &mut Device, conn: &mut crate::db::DbC
|
||||||
.await?
|
.await?
|
||||||
.error_for_status()
|
.error_for_status()
|
||||||
{
|
{
|
||||||
err!(format!("An error occured while proceeding registration of a device: {e}"));
|
err!(format!("An error occurred while proceeding registration of a device: {e}"));
|
||||||
}
|
}
|
||||||
|
|
||||||
if let Err(e) = device.save(conn).await {
|
if let Err(e) = device.save(conn).await {
|
||||||
err!(format!("An error occured while trying to save the (registered) device push uuid: {e}"));
|
err!(format!("An error occurred while trying to save the (registered) device push uuid: {e}"));
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue