diff options
author | provokateurin <kate@provokateurin.de> | 2024-12-11 10:23:49 +0100 |
---|---|---|
committer | provokateurin <kate@provokateurin.de> | 2024-12-18 10:52:42 +0100 |
commit | e8e5bd6161a1fbe6d81622bce47bc69c69fd6eb4 (patch) | |
tree | 0a29c9072901c013d249960bf9f636f9275d1529 | |
parent | 5c360e0367da488febba66325082158725207801 (diff) | |
download | nextcloud-server-e8e5bd6161a1fbe6d81622bce47bc69c69fd6eb4.tar.gz nextcloud-server-e8e5bd6161a1fbe6d81622bce47bc69c69fd6eb4.zip |
fix(user_status): Remove non-existent "visible" field from UserStatusPredefinedfix/user_status/harden-api
Signed-off-by: provokateurin <kate@provokateurin.de>
-rw-r--r-- | apps/user_status/lib/ResponseDefinitions.php | 1 | ||||
-rw-r--r-- | apps/user_status/openapi.json | 7 |
2 files changed, 1 insertions, 7 deletions
diff --git a/apps/user_status/lib/ResponseDefinitions.php b/apps/user_status/lib/ResponseDefinitions.php index 6668c40b917..82f606dd301 100644 --- a/apps/user_status/lib/ResponseDefinitions.php +++ b/apps/user_status/lib/ResponseDefinitions.php @@ -22,7 +22,6 @@ namespace OCA\UserStatus; * icon: string, * message: string, * clearAt: ?UserStatusClearAt, - * visible: ?bool, * } * * @psalm-type UserStatusType = "online"|"away"|"dnd"|"busy"|"offline"|"invisible" diff --git a/apps/user_status/openapi.json b/apps/user_status/openapi.json index 861ba343aba..a0d30693e37 100644 --- a/apps/user_status/openapi.json +++ b/apps/user_status/openapi.json @@ -111,8 +111,7 @@ "id", "icon", "message", - "clearAt", - "visible" + "clearAt" ], "properties": { "id": { @@ -127,10 +126,6 @@ "clearAt": { "$ref": "#/components/schemas/ClearAt", "nullable": true - }, - "visible": { - "type": "boolean", - "nullable": true } } }, |