Skip to content

Commit 7be13cd

Browse files
committed
expose filename on autoupdate prepare step
1 parent 805f3f8 commit 7be13cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/components/com_joomlaupdate/src/View/Updates/JsonapiView.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public function prepareUpdate(string $targetVersion): string
8686
$fileinformation['id'] = 'prepareUpdate';
8787

8888
$element = (new Resource((object) $fileinformation, $this->serializer))
89-
->fields(['updates' => ['password', 'filesize']]);
89+
->fields(['updates' => ['password', 'filesize', 'filename']]);
9090

9191
$this->getDocument()->setData($element);
9292
$this->getDocument()->addLink('self', Uri::current());

0 commit comments

Comments
 (0)