Skip to content

Commit

Permalink
chore: update_profile applied PR review comment
Browse files Browse the repository at this point in the history
Co-authored-by: Tim <[email protected]>
  • Loading branch information
elpiel and tymmesyde authored Jan 31, 2024
1 parent 8b4be00 commit 856e503
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/ctx/update_profile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ pub fn update_profile<E: Env + 'static>(
}
Msg::Internal(Internal::UninstallAddon(addon)) => {
if profile.addons_locked {
return addon_install_error_effects(addon, OtherError::UserAddonsAreLocked);
return addon_uninstall_error_effects(addon, OtherError::UserAddonsAreLocked);
}

let addon_position = profile
Expand Down

0 comments on commit 856e503

Please sign in to comment.