fix noteservice not returning the final filename

Signed-off-by: Felix Nüsse <felix.nuesse@t-online.de>
This commit is contained in:
Felix Nüsse 2022-02-19 16:16:14 +01:00 committed by korelstar
parent 236ecd5c1f
commit acf45adfd6
1 changed files with 1 additions and 2 deletions

View File

@ -251,9 +251,8 @@ class NotesService {
$result = [];
$result['filename'] = $filename;
$result['filepath'] = $parent->getPath() . '/' . $filename;
$result['wasUploaded'] = true;
$this->noteUtil->getRoot()->newFile($parent->getPath() . '/' . $filename, $content);
return $result;
}
}