#arya_

1 messages · Page 1 of 1 (latest)

lilac yarrowBOT
lucid wasp
frosty geode
#

Hmm console.log("prev attributes", data.previous_attributes)
This gives me undefined

#

I also console logged the data variable and could not find a previous_attributes field inside it

lucid wasp
#

Could you share one example event id? evt_xxx

frosty geode
#

evt_1NEMQ2IJY9GdUtEDLhODZtiN

lucid wasp
#

You can see it has

  "previous_attributes": {
    "cancel_at": 1717288680,
    "cancel_at_period_end": true,
    "canceled_at": 1688863080,
    "cancellation_details": {
      "reason": "cancellation_requested"
    }
  }
frosty geode
#

Aah i figured:
I was doing event.data.object.previous_attributes and not event.data.previous_attributes