fix(caldav): broken activity rich objects

Signed-off-by: Anna Larch <anna@nextcloud.com>
This commit is contained in:
Anna Larch 2024-10-16 17:18:45 +02:00 committed by backportbot[bot]
parent 0319e50ae3
commit 05b9cdf453

View file

@ -52,14 +52,14 @@ abstract class Base implements IProvider {
$data['name'] === CalDavBackend::PERSONAL_CALENDAR_NAME) {
return [
'type' => 'calendar',
'id' => $data['id'],
'id' => (string)$data['id'],
'name' => $l->t('Personal'),
];
}
return [
'type' => 'calendar',
'id' => $data['id'],
'id' => (string)$data['id'],
'name' => $data['name'],
];
}
@ -72,7 +72,7 @@ abstract class Base implements IProvider {
protected function generateLegacyCalendarParameter($id, $name) {
return [
'type' => 'calendar',
'id' => $id,
'id' => (string)$id,
'name' => $name,
];
}