Skip to content
This repository has been archived by the owner on Oct 29, 2020. It is now read-only.

Fixing AlertChannels Configuration type #52

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

WrackDaddy
Copy link

@WrackDaddy WrackDaddy commented May 8, 2019

When requesting AlertChannels that are of type webhook, the Headers and Payload fields are being treated as strings when they are actually maps.

The AlertChannel struct has been updated to have a Configuration field of type AlertChannelConfiguration which treats all fields as strings as before. However, Headers and Payload has been updated to be a map.

@ctrombley ctrombley force-pushed the SupportHeaderPayloadMapsInAlertChannelConfiguration branch from 46a067c to 4aa9d17 Compare November 14, 2019 19:27
@ctrombley
Copy link
Contributor

Rebased on the master branch.

Copy link
Contributor

@sanderblue sanderblue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants