Skip to content

Commit

Permalink
fix(user_status): Mark UserStatusPredefined as non-required instead o…
Browse files Browse the repository at this point in the history
…f nullable

Signed-off-by: provokateurin <[email protected]>
  • Loading branch information
provokateurin committed Dec 11, 2024
1 parent a0f18aa commit 18b4a62
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion apps/user_status/lib/ResponseDefinitions.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* icon: string,
* message: string,
* clearAt: ?UserStatusClearAt,
* visible: ?bool,
* visible?: bool,
* }
*
* @psalm-type UserStatusType = "online"|"away"|"dnd"|"busy"|"offline"|"invisible"
Expand Down
6 changes: 2 additions & 4 deletions apps/user_status/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,7 @@
"id",
"icon",
"message",
"clearAt",
"visible"
"clearAt"
],
"properties": {
"id": {
Expand All @@ -129,8 +128,7 @@
"nullable": true
},
"visible": {
"type": "boolean",
"nullable": true
"type": "boolean"
}
}
},
Expand Down

0 comments on commit 18b4a62

Please sign in to comment.