I get:
"isUsersOwn": "ck24e1j9l068b0919xpvilefz"
},
But why I can not compare userId with it. How do I get the string inside my resolver function isUsersOwn() 🤔🙇♂️
j
joar
10/24/2019, 2:52 PM
You have to
await
the result of the prisma call
👍 1
joar
10/24/2019, 2:52 PM
postedBy is just a promise in this case
👍 1
h
Hansen
10/24/2019, 2:59 PM
🤭 Stupid beginner mistake. Now it's working as expected. Thank you very much.