🐛 fix(store.py): fix variable name to improve code readability and semantics

The variable `result` is updated with the value of `updated_result` after calling the `update_components_with_user_data` function. This change improves code readability and makes the intention clearer.
This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-11-08 16:05:33 -03:00
commit 955ba95eb3

View file

@ -115,10 +115,11 @@ def get_components(
# Now, from the result, we need to get the components
# the user likes and set the liked_by_user to True
try:
result = update_components_with_user_data(
updated_result = update_components_with_user_data(
result, store_service, store_api_Key
)
authorized = True
result = updated_result
except Exception:
# If we get an error here, it means the user is not authorized
authorized = False