Patch users table returns 404 when sending after user signups #2201
Unanswered
surjithctly
asked this question in
Questions
Replies: 1 comment
|
Hi @surjithctly, if I'm not mistaken, the Let me know if this helps! Keep hacking :) |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I have this code where I wait for signup and then using an SQL function, I create the user in "users" table. Now I try to update the user's table and it throws a
404 error.This is the update function
Code is taken from https://github.com/vercel/nextjs-subscription-payments but no idea why it's not working locally. I have also taken the new_user_table function from here: #306
Any help would be appreciated.
All reactions