Joaquim Ley
zValidator not coercing types correctly
You should change from:
c.req.query()
to c.req.valid('query')
Reference:
- https://hono.dev/docs/guides/validation10 replies
Synchronous function returns no value unless await
Got it, that makes sense -- server actions are async by nature. (https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions-and-mutations)
Please provide all context next time so we can all better help you 🚀
Don't forget to mark this thread as Solved ✅
6 replies
Synchronous function returns no value unless await
Can you please provide the details of the
getEbayAuthUrl()
function (don't forget to omit any secrets/api keys if that's the case)
Also, have you tried to console.log("authUrl: ", authUrl
to actually see what's being returned vs what's being stored in the database?6 replies
All GET/POST api calls returns Internal server error 500
Hey give a look at this video, it seems like you could extract the same way of thinking/implementing:
- https://youtu.be/jXyTIQOfTTk?si=qENuET34TNutMB-R&t=3171
10 replies