[fix] repository📆delete

This commit is contained in:
Fenris Wolf 2024-09-30 20:19:19 +02:00
parent 4dec750e72
commit cdb283f741

View file

@ -366,6 +366,7 @@ namespace _zeitbild.repository.calendar
/**
* @todo remove events from resource?
*/
export async function delete_(
calendar_id : _zeitbild.type_calendar_id
@ -377,7 +378,7 @@ namespace _zeitbild.repository.calendar
{
const hits : Array<Record<string, any>> = await access_attributed_chest.search(
{
"expression": "(calendar_id = {{calendar_id}})",
"expression": "(calendar_id = $calendar_id)",
"arguments": {
"calendar_id": calendar_id,
}