fixing types errors
This commit is contained in:
@@ -48,7 +48,6 @@ export class UmbDocumentMockDB extends UmbEntityMockDbBase<UmbMockDocumentModel>
|
||||
disableDeleteWhenReferenced: true,
|
||||
disableUnpublishWhenReferenced: true,
|
||||
reservedFieldNames: [],
|
||||
sanitizeTinyMce: true,
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user