🐛 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:
parent
c8dc529ac3
commit
955ba95eb3
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue