[fix] repository📆delete
This commit is contained in:
parent
4dec750e72
commit
cdb283f741
1 changed files with 2 additions and 1 deletions
|
@ -366,6 +366,7 @@ namespace _zeitbild.repository.calendar
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* @todo remove events from resource?
|
||||||
*/
|
*/
|
||||||
export async function delete_(
|
export async function delete_(
|
||||||
calendar_id : _zeitbild.type_calendar_id
|
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(
|
const hits : Array<Record<string, any>> = await access_attributed_chest.search(
|
||||||
{
|
{
|
||||||
"expression": "(calendar_id = {{calendar_id}})",
|
"expression": "(calendar_id = $calendar_id)",
|
||||||
"arguments": {
|
"arguments": {
|
||||||
"calendar_id": calendar_id,
|
"calendar_id": calendar_id,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue