aboutsummaryrefslogtreecommitdiffstats
path: root/apps/theming/openapi.json
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-12-11 08:59:45 +0100
committerJoas Schilling <coding@schilljs.com>2024-01-17 09:30:44 +0100
commit84a380a3b2293719a560351a0b615508fc583f51 (patch)
tree76d49f3d820a4c07be465a66b0ec1e882521d522 /apps/theming/openapi.json
parentc21df323b09a47f5a5fa331ff160a57320bce3b6 (diff)
downloadnextcloud-server-84a380a3b2293719a560351a0b615508fc583f51.tar.gz
nextcloud-server-84a380a3b2293719a560351a0b615508fc583f51.zip
fix(manifest): Check if app exists instead of accessing null as an array
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/theming/openapi.json')
-rw-r--r--apps/theming/openapi.json10
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/theming/openapi.json b/apps/theming/openapi.json
index f85f916dcaa..439e14fcc60 100644
--- a/apps/theming/openapi.json
+++ b/apps/theming/openapi.json
@@ -386,6 +386,16 @@
}
}
}
+ },
+ "404": {
+ "description": "App not found",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
}
}
}