aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorguangwu <[email protected]>2024-03-20 02:47:14 +0800
committerGitHub <[email protected]>2024-03-19 19:47:14 +0100
commitce8efcc48fa1a54129176904fb6911f17d675733 (patch)
tree2a25c9761fec1b9f844641a69c7599e11b2dc631 /src
parent79ce5b49bc61227101aa0668a4ab3b8bdf4f32ef (diff)
downloadvaultwarden-ce8efcc48fa1a54129176904fb6911f17d675733.tar.gz
vaultwarden-ce8efcc48fa1a54129176904fb6911f17d675733.zip
fix: typos (#4440)
Signed-off-by: guoguangwu <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/api/push.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/api/push.rs b/src/api/push.rs
index 79966c94..607fb7ea 100644
--- a/src/api/push.rs
+++ b/src/api/push.rs
@@ -114,11 +114,11 @@ pub async fn register_push_device(device: &mut Device, conn: &mut crate::db::DbC
.await?
.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 {
- 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(())