From 76b23454642ac6b6d1ff8d0574a6148d004f6b70 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Tue, 14 May 2024 12:25:57 +0200 Subject: [PATCH] remove .ok() --- crates/apub/src/api/user_settings_backup.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/apub/src/api/user_settings_backup.rs b/crates/apub/src/api/user_settings_backup.rs index 8b4202258..558551632 100644 --- a/crates/apub/src/api/user_settings_backup.rs +++ b/crates/apub/src/api/user_settings_backup.rs @@ -137,8 +137,7 @@ pub async fn import_settings( local_user_view.local_user.id, &local_user_form, ) - .await - .ok(); + .await?; // Update the vote display mode settings let vote_display_mode_form = LocalUserVoteDisplayModeUpdateForm {