ecency / ecency-mobile

Ecency Mobile - reimagined social blogging, contribute and get rewarded (for Android and iOS)
https://ecency.com
MIT License
233 stars 69 forks source link

Failing to disable notifications on logout #2690

Open noumantahir opened 1 year ago

noumantahir commented 1 year ago

when logging out multiple accounts, disabling notifications failed with bad request.

cURL

curl -X POST -H "user-agent:53746167696e674563656e6379/3.0.40" -H "content-type:application/json" -H "accept:application/json, text/plain, */*" https://ecency.com/private-api/register-device -d '{"username":"demo.com","token":"","system":"fcm-android","allows_notify":0,"notify_types":[1,2,3,4,5,6,13,15]}'

Screenshot 2023-05-24 at 4 38 44 PM