Skip to content

Make Discord payload data key not required#23964

Merged
rohankapoorcom merged 1 commit into
home-assistant:devfrom
cyrosy:fix/discord-payload
May 18, 2019
Merged

Make Discord payload data key not required#23964
rohankapoorcom merged 1 commit into
home-assistant:devfrom
cyrosy:fix/discord-payload

Conversation

@cyrosy
Copy link
Copy Markdown
Contributor

@cyrosy cyrosy commented May 18, 2019

Description:

My previous work in #23523 introduced a BC as noted by @Villhellm : a payload sent to Discord notify component would require an empty "data" object in its strucure.
This has now been fixed.

Related issue (if applicable): fixes #23948

Checklist:

  • The code change is tested and works locally.
  • Local tests pass with tox. Your PR cannot be merged unless tests pass
  • There is no commented out code in this PR.
  • I have followed the development checklist

If the code communicates with devices, web services, or third-party tools:

  • The manifest file has all fields filled out correctly. Update and include derived files by running python3 -m script.hassfest.
  • New or updated dependencies have been added to requirements_all.txt by running python3 -m script.gen_requirements_all.
  • Untested files have been added to .coveragerc.

@dshokouhi
Copy link
Copy Markdown
Member

Thanks for the quick fix! Working well here. To whomever reviews this PR please tag for 0.93.2 so more users can get the fix faster.

Copy link
Copy Markdown
Member

@rohankapoorcom rohankapoorcom left a comment

Choose a reason for hiding this comment

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

Thanks!

@rohankapoorcom rohankapoorcom merged commit a99e153 into home-assistant:dev May 18, 2019
@rohankapoorcom rohankapoorcom added this to the 0.93.2 milestone May 18, 2019
@rohankapoorcom
Copy link
Copy Markdown
Member

Tagged for 0.93.2.

@balloob balloob mentioned this pull request May 23, 2019
@cyrosy cyrosy deleted the fix/discord-payload branch November 6, 2019 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Breaking change for Discord Notify 0.93.0

5 participants