From 36ed09f8bbd541612e2c16f8483e51f57a876ba6 Mon Sep 17 00:00:00 2001 From: Nathan Clack Date: Fri, 15 Sep 2023 14:24:39 -0700 Subject: [PATCH] update hub api --- src/npe2/_inspection/_fetch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/npe2/_inspection/_fetch.py b/src/npe2/_inspection/_fetch.py index d6577b96..a0d259b3 100644 --- a/src/npe2/_inspection/_fetch.py +++ b/src/npe2/_inspection/_fetch.py @@ -408,7 +408,7 @@ def get_pypi_plugins() -> Dict[str, str]: @lru_cache def get_hub_plugins() -> Dict[str, str]: """Return {name: latest_version} for all plugins on the hub.""" - with request.urlopen("https://api.napari-hub.org/plugins") as r: + with request.urlopen("https://api.napari-hub.org/plugins/index/all") as r: return json.load(r)