gioru
CCConvex Community
•Created by gioru on 8/27/2024 in #support-community
Need help with handling Convex Auth signIn errors in prod
Tried the api route way but had no success since useAuthActions can be called only inside react components. Tried the signIn convex server function too but wasn't enough to make the signin flow work. 🥲
30 replies
CCConvex Community
•Created by gioru on 7/26/2024 in #support-community
NODE_ENV always equates to 'development'
Can I ask you one more thing? Is it normal behaviour that I can't destructure single item queries?
Gives me type error:
"Property '_id' does not exist on type '{ _id: Id<"subscriptions">; _creationTime: number; ...."
7 replies
CCConvex Community
•Created by gioru on 7/26/2024 in #support-community
NODE_ENV always equates to 'development'
Thanks for the answer Michal, yes was wondering if it was automatically handled by you but ok the cause must be somewhere else, maybe nextjs's. Temporarily solved by calling the variable "CONVEX_ENV"; needed to distinguish the environments for stripe checkouts.
7 replies