aboutsummaryrefslogtreecommitdiffstats
path: root/core/Controller
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2024-02-13 10:22:58 +0100
committerJohn Molakvoæ <skjnldsv@protonmail.com>2024-02-13 21:06:31 +0100
commit9593f4d6f9bac5eee9527ac591a6f39dae11d109 (patch)
tree0b318c611fe731f4f1411023859328cab08069bc /core/Controller
parent839ddaa3547bb0042b6225edf2df7bff1831cdd5 (diff)
downloadnextcloud-server-9593f4d6f9bac5eee9527ac591a6f39dae11d109.tar.gz
nextcloud-server-9593f4d6f9bac5eee9527ac591a6f39dae11d109.zip
fix: openapi
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'core/Controller')
-rw-r--r--core/Controller/HoverCardController.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/Controller/HoverCardController.php b/core/Controller/HoverCardController.php
index 9a76ee4a09a..ac1b809ba0c 100644
--- a/core/Controller/HoverCardController.php
+++ b/core/Controller/HoverCardController.php
@@ -48,13 +48,13 @@ class HoverCardController extends \OCP\AppFramework\OCSController {
/**
* @NoAdminRequired
*
- * Get the user details for a hovercard
+ * Get the account details for a hovercard
*
* @param string $userId ID of the user
* @return DataResponse<Http::STATUS_OK, array{userId: string, displayName: string, actions: CoreContactsAction[]}, array{}>|DataResponse<Http::STATUS_NOT_FOUND, array<empty>, array{}>
*
- * 200: User details returned
- * 404: User not found
+ * 200: Account details returned
+ * 404: Account not found
*/
public function getUser(string $userId): DataResponse {
$contact = $this->manager->findOne($this->userSession->getUser(), IShare::TYPE_USER, $userId);