diff --git a/client/src/app/core/repositories/agenda/item-repository.service.ts b/client/src/app/core/repositories/agenda/item-repository.service.ts index 9be72a73b..8543336bd 100644 --- a/client/src/app/core/repositories/agenda/item-repository.service.ts +++ b/client/src/app/core/repositories/agenda/item-repository.service.ts @@ -232,8 +232,9 @@ export class ItemRepositoryService extends BaseRepository { * from the agenda" permanently. Usually, items might juse be hidden but not * deleted (right now) */ - public delete(item: ViewItem): Promise { - throw new Error('Method not implemented.'); + public async delete(item: ViewItem): Promise { + const restUrl = `/rest/${item.contentObject.collectionString}/${item.contentObject.id}/`; + return await this.httpService.delete(restUrl); } /**