Closed grahamalama closed 2 months ago
POST contact with a legacy waitlist field (VPN):
... 'relay_waitlist': None, 'vpn_waitlist': {'geo': 'us', 'platform': None}, 'waitlists': [] }
success ✅
GET that object back, looks like this:
'relay_waitlist': {'geo': None}, ... 'vpn_waitlist': {'geo': 'us', 'platform': None}, 'waitlists': [{'fields': {'geo': 'us', 'platform': None}, 'name': 'vpn', 'source': None}] }
PUT the contact, signing up for another waitlist through a legacy field (Relay):
'relay_waitlist': {'geo': 'us'}, 'vpn_waitlist': {'geo': 'us', 'platform': None}, 'waitlists': [{'fields': {'geo': 'us', 'platform': None}, 'name': 'vpn', 'source': None, 'subscribed': True}] }
Expected: User is signed up for the relay and vpn waitlists Actual: User is only signed up for the VPN waitlist
I'm pretty sure that's because of this.
Since Basket does not set those fields anymore, this is less urgent than #733
POST contact with a legacy waitlist field (VPN):
success ✅
GET that object back, looks like this:
PUT the contact, signing up for another waitlist through a legacy field (Relay):
Expected: User is signed up for the relay and vpn waitlists Actual: User is only signed up for the VPN waitlist
I'm pretty sure that's because of this.