mirror of
https://github.com/caronc/apprise.git
synced 2025-08-19 04:47:20 +02:00
IFTTT requires upstream payload entries to be lowercase
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user