mirror of
https://github.com/caronc/apprise.git
synced 2025-06-21 18:21:29 +02:00
IFTTT requires upstream payload entries to be lowercase
This commit is contained in:
parent
ef05cb682b
commit
40cb91df5e
@ -158,8 +158,9 @@ class NotifyIFTTT(NotifyBase):
|
||||
# any entries defined above)
|
||||
payload.update(self.add_tokens)
|
||||
|
||||
# Eliminate fields flagged for removal
|
||||
payload = {x: y for x, y in payload.items()
|
||||
# Eliminate fields flagged for removal otherwise ensure all tokens are
|
||||
# lowercase since that is what the IFTTT server expects from us.
|
||||
payload = {x.lower(): y for x, y in payload.items()
|
||||
if x not in self.del_tokens}
|
||||
|
||||
# Track our failures
|
||||
|
Loading…
x
Reference in New Issue
Block a user