HalcyonXII
HalcyonXII2y ago

✅ – HalcyonXII – 12-44 Feb 4

why this returns empty
18 Replies
HalcyonXII
HalcyonXII2y ago
HalcyonXII
HalcyonXII2y ago
but if i write the id
HalcyonXII
HalcyonXII2y ago
HalcyonXII
HalcyonXII2y ago
it returns correct data
ScriptyChris
ScriptyChris2y ago
What's inside id variable ?
HalcyonXII
HalcyonXII2y ago
HalcyonXII
HalcyonXII2y ago
ScriptyChris
ScriptyChris2y ago
console.log it
HalcyonXII
HalcyonXII2y ago
.
ScriptyChris
ScriptyChris2y ago
is it a string?
HalcyonXII
HalcyonXII2y ago
ye
ScriptyChris
ScriptyChris2y ago
Maybe there's no element with such id?
HalcyonXII
HalcyonXII2y ago
there is if i do this
HalcyonXII
HalcyonXII2y ago
.
HalcyonXII
HalcyonXII2y ago
it returns the vlaue
ScriptyChris
ScriptyChris2y ago
These ids are different req.params.event ends with 5330 and your hardcoded one ends with 532e
HalcyonXII
HalcyonXII2y ago
omg 🤡 sorry thats what happens when you dont sleep for 24 hours
reactibot
reactibot2y ago
This question has an answer! Thank you for helping 😄 If you have a followup question, you may want to reply to this thread so other members know they're related. https://discord.com/channels/102860784329052160/565213527673929729/1071411042208460810 This thread hasn’t had any activity in 12 hours, so it’s now locked. Threads are closed automatically after 12 hours. If you have a followup question, you may want to reply to this thread so other members know they're related. https://discord.com/channels/102860784329052160/565213527673929729/1071411042208460810