mirror of
https://github.com/nextcloud/richdocuments.git
synced 2025-12-18 05:20:43 +01:00
Merge branch 'main' into automated/noid/main-fix-npm-audit
This commit is contained in:
commit
f854b1b873
1 changed files with 1 additions and 1 deletions
|
|
@ -489,8 +489,8 @@ class SettingsController extends Controller {
|
|||
public function getSettingsFile(string $type, string $token, string $category, string $name) {
|
||||
try {
|
||||
$wopi = $this->wopiMapper->getWopiForToken($token);
|
||||
$userId = $wopi->getEditorUid() ?: $wopi->getOwnerUid();
|
||||
if ($type === 'userconfig') {
|
||||
$userId = $wopi->getEditorUid() ?: $wopi->getOwnerUid();
|
||||
$type = $type . '/' . $userId;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue