SUBSCRIPTION ENDPOINT NOT WORKING
anoopshrma opened this issue · 2 comments
Hi @geduldig
You have a Dictionary of Endpoints in which two keys have the same values that is
endpoint = 'account_activity/all/:PARAM/subscriptions'
'account_activity/all/:PARAM/subscriptions': ('POST', 'api'), # ENVIRONMENT NAME
'account_activity/all/:PARAM/subscriptions': ('DELETE', 'api'), # ENVIRONMENT NAME
This is same for POST as well as DELETE. Since Dictionary cannot have same key values so while running one of the key is removed. Providing an example for the same
a = {"a":1,"a":2}
a
{'a': 2}
Are you working on it already or this is your first time seeing this error.
I can raise a PR for the fix. Any reply would be highly appreciated
Hey @geduldig, I just checked the library and it is working fine now as expected. Thanks for quick response