Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Cannot create a webhook hook subscription with differing display name #10458


User avatar
0
rickfrankel created

Prerequisites

Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • What is your product version?
  • 10.3
  • What is your product type (Angular or MVC)?
  • Angular
  • What is product framework type (.net framework or .net core)?
  • .Net Core

https://github.com/aspnetzero/aspnet-zero-core/blob/dev/angular/src/app/admin/webhook-subscription/create-or-edit-webhook-subscription-modal.component.ts#L82 should be

    this.webhookSubscription.webhooks = this.webhooks.map(wh => wh.value);

instead of this.webhookSubscription.webhooks = this.webhooks.map(wh => wh.name);

If you specify a display name which is friendly and not the same as the value in the Webhook Definition then you won't be able to create them without changing the line above.

Thanks Rick


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi Rick,

    Thanks for sharing this, we will include it into 10.4 version.

    Thanks again.