fix noteservice not returning the final filename
Signed-off-by: Felix Nüsse <felix.nuesse@t-online.de>
This commit is contained in:
parent
236ecd5c1f
commit
acf45adfd6
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue