Skip to content

Commit

Permalink
remove .ok()
Browse files Browse the repository at this point in the history
  • Loading branch information
Nutomic committed May 14, 2024
1 parent 23e51f5 commit 76b2345
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/apub/src/api/user_settings_backup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 76b2345

Please sign in to comment.