Skip to content

Commit f854b1b

Browse files
authored
Merge branch 'main' into automated/noid/main-fix-npm-audit
2 parents ed7662a + bd8acce commit f854b1b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/Controller/SettingsController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,8 +489,8 @@ public function uploadFontFile(): JSONResponse {
489489
public function getSettingsFile(string $type, string $token, string $category, string $name) {
490490
try {
491491
$wopi = $this->wopiMapper->getWopiForToken($token);
492+
$userId = $wopi->getEditorUid() ?: $wopi->getOwnerUid();
492493
if ($type === 'userconfig') {
493-
$userId = $wopi->getEditorUid() ?: $wopi->getOwnerUid();
494494
$type = $type . '/' . $userId;
495495
}
496496

0 commit comments

Comments
 (0)