fixing types errors

This commit is contained in:
Mads Rasmussen
2024-04-29 20:21:33 +02:00
parent 2829abc0e0
commit d161933048
2 changed files with 1 additions and 2 deletions

View File

@@ -48,7 +48,6 @@ export class UmbDocumentMockDB extends UmbEntityMockDbBase<UmbMockDocumentModel>
disableDeleteWhenReferenced: true,
disableUnpublishWhenReferenced: true,
reservedFieldNames: [],
sanitizeTinyMce: true,
};
}
}

View File

@@ -30,7 +30,7 @@ export class UmbWebhookCollectionServerDataSource implements UmbWebhookCollectio
* @memberof UmbWebhookCollectionServerDataSource
*/
async getCollection(_filter: UmbWebhookCollectionFilterModel) {
const { data, error } = await tryExecuteAndNotify(this.#host, WebhookService.getWebhookItem({}));
const { data, error } = await tryExecuteAndNotify(this.#host, WebhookService.getItemWebhook({}));
if (data) {
const items = data.map((item) => {