App router, api not showing data
Unanswered
Cape lion posted this in #help-forum
Cape lionOP
Hey guys i cant seem to get any data, so i have a slug, which is sent to the backend api, when i hit the api on postman im receving the data, but when i console log on my page.tsx which im trying to pass to my component, its showing other data
2 Replies
You are not awaiting the fetch call so the object you have is a promise not a result
Cape lionOP
thank you!