fix(notification): Notification in activity shows "Rich subject or a parameter for ..."

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
pull/52575/head
rakekniven 2025-05-01 08:59:46 +07:00 committed by GitHub
parent 112f6f43fb
commit 1d80bcb97c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

@ -138,7 +138,7 @@ class FavoriteProvider implements IProvider {
}
$parameter = [
'type' => 'file',
'id' => $subjectParams['id'],
'id' => (string)$subjectParams['id'],
'name' => basename($subjectParams['path']),
'path' => trim($subjectParams['path'], '/'),
'link' => $this->url->linkToRouteAbsolute('files.viewcontroller.showFile', ['fileid' => $subjectParams['id']]),