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

make sure empty lists are also json encoded #93

Merged
merged 1 commit into from
May 15, 2017
Merged

make sure empty lists are also json encoded #93

merged 1 commit into from
May 15, 2017

Conversation

MBons
Copy link
Contributor

@MBons MBons commented Jan 9, 2017

When updating a message on slack there's a difference between not providing an attachments argument and providing an empty list. In the former case the attachments are left as is while providing an empty list updates the message to have no attachments.

With this patch the attachments will be json encoded also in the case when providing an empty list.

@simonsolnes simonsolnes merged commit 1fa9a29 into os:master May 15, 2017
@os
Copy link
Owner

os commented May 26, 2017

Thanks, @Zalastra!

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