Issue creating a record in an edge table
The function
createCompanyAdmin
worked a month ago when I initially wrote it, but I haven't needed it until today when I finally got that far in my UI. I had to refactor the endpoint to take form-data instead of just a json body, but didn't have to change anything db wise. I'm confused as to why it seems to be trying to create a Company, and yes the Company is in the database.
Error output
2 Replies
Solution
Try this?
I'll give it a try this morning. Thanks
Update it worked. Note, it worked a month ago with lower case, so I'm not sure.
Thanks again @Nurul (Prisma)