feat: add mode for /info api (#19264)
This commit is contained in:
parent
0cfc82d731
commit
0b44791eae
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ class AppInfoApi(Resource):
|
||||||
def get(self, app_model: App):
|
def get(self, app_model: App):
|
||||||
"""Get app information"""
|
"""Get app information"""
|
||||||
tags = [tag.name for tag in app_model.tags]
|
tags = [tag.name for tag in app_model.tags]
|
||||||
return {"name": app_model.name, "description": app_model.description, "tags": tags}
|
return {"name": app_model.name, "description": app_model.description, "tags": tags, "mode": app_model.mode}
|
||||||
|
|
||||||
|
|
||||||
api.add_resource(AppParameterApi, "/parameters")
|
api.add_resource(AppParameterApi, "/parameters")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue