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:25:44 +0100
commit2fccd090b398d5edfd6772013e48dae90cccae24 (patch)
tree1ead06bb2be86e1ac9183b1771b16c0c1c2a2754 /apps/theming/openapi.json
parentad12af8d06dfffe3e8d6b4a255aa96fc2c719136 (diff)
downloadnextcloud-server-2fccd090b398d5edfd6772013e48dae90cccae24.tar.gz
nextcloud-server-2fccd090b398d5edfd6772013e48dae90cccae24.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"
+ }
+ }
+ }
}
}
}