From 35c9a2972290340b4180605570fe6e6bbc98d6b2 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Sat, 24 Feb 2024 17:42:56 +1100 Subject: [PATCH] feat(api): mm metadata route "meta" -> "metadata" --- invokeai/app/api/routers/model_manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/invokeai/app/api/routers/model_manager.py b/invokeai/app/api/routers/model_manager.py index a93846e7cd..37f844ab5c 100644 --- a/invokeai/app/api/routers/model_manager.py +++ b/invokeai/app/api/routers/model_manager.py @@ -202,7 +202,7 @@ async def list_model_summary( @model_manager_router.get( - "/i/{key}/meta", + "/i/{key}/metadata", operation_id="get_model_metadata", responses={ 200: { @@ -218,7 +218,7 @@ async def get_model_metadata( """Get a model metadata object.""" record_store = ApiDependencies.invoker.services.model_manager.store result: Optional[AnyModelRepoMetadata] = record_store.get_metadata(key) - + return result