From ce8efcc48fa1a54129176904fb6911f17d675733 Mon Sep 17 00:00:00 2001 From: guangwu Date: Wed, 20 Mar 2024 02:47:14 +0800 Subject: [PATCH] fix: typos (#4440) Signed-off-by: guoguangwu --- src/api/push.rs | 4 ++-- 1 file 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(())