web/admin: fix NotificationWebhookMapping not loading correctly

closes #1452

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-09-23 16:13:58 +02:00
parent 50ebc8522d
commit 5df60e4d87
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ import { ModelForm } from "../../elements/forms/ModelForm";
@customElement("ak-property-mapping-notification-form") @customElement("ak-property-mapping-notification-form")
export class PropertyMappingNotification extends ModelForm<NotificationWebhookMapping, string> { export class PropertyMappingNotification extends ModelForm<NotificationWebhookMapping, string> {
loadInstance(pk: string): Promise<NotificationWebhookMapping> { loadInstance(pk: string): Promise<NotificationWebhookMapping> {
return new PropertymappingsApi(DEFAULT_CONFIG).propertymappingsNotificationRetrieveRaw({ return new PropertymappingsApi(DEFAULT_CONFIG).propertymappingsNotificationRetrieve({
pmUuid: pk, pmUuid: pk,
}); });
} }