Skip to content

Commit

Permalink
addon_store not store_addon
Browse files Browse the repository at this point in the history
  • Loading branch information
mdegat01 committed Dec 11, 2024
1 parent 7a4a282 commit 3580c32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion supervisor/api/store.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def _extract_addon(self, request: web.Request, installed=False) -> AnyAddon:
raise APIError(f"Addon {addon_slug} is not installed")

if not installed:
return addon.store_addon
return addon.addon_store
return addon

def _extract_repository(self, request: web.Request) -> Repository:
Expand Down

0 comments on commit 3580c32

Please sign in to comment.