Merge pull request #26580 from castillo92/patch-2

Fix casing of exception string
This commit is contained in:
Morris Jobke 2021-05-18 09:29:45 +02:00 committed by GitHub
commit 6f31d20f3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -588,7 +588,7 @@ class ShareAPIController extends OCSController {
}
if ($shareWith === null) {
throw new OCSNotFoundException($this->l->t('Please specify a valid federated user id'));
throw new OCSNotFoundException($this->l->t('Please specify a valid federated user ID'));
}
$share->setSharedWith($shareWith);
@ -607,7 +607,7 @@ class ShareAPIController extends OCSController {
}
if ($shareWith === null) {
throw new OCSNotFoundException($this->l->t('Please specify a valid federated group id'));
throw new OCSNotFoundException($this->l->t('Please specify a valid federated group ID'));
}
$share->setSharedWith($shareWith);