mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 23:03:00 -04:00
Merge pull request #26580 from castillo92/patch-2
Fix casing of exception string
This commit is contained in:
commit
6f31d20f3d
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue