Join Discord
Communities
Powered by
When I do a select with the JavaScript library it ...
# javascript
j
jaf
01/12/2022, 11:56 AM
When I do a select with the JavaScript library it returns a
data
and a
body
property with exactly the same values in it. What's the reason for this?
s
silentworks
01/12/2022, 12:02 PM
This is likely due to backwards compatibility, If I remember correctly in earlier releases of the library we would get the
body
back
j
jaf
01/12/2022, 12:04 PM
So that means that I should use data since it's more likely that body gets removed at some point?
s
silentworks
01/12/2022, 12:06 PM
Yes use
data
j
jaf
01/12/2022, 12:17 PM
Thanks
Previous
Next