Akash Sharma
TTCTheo's Typesafe Cult
•Created by Akash Sharma on 6/24/2024 in #questions
Issue with Fetching PDF from Uploadthing in the server
I'm trying to fetch a PDF from Uploadthing in the server, but many time it fails. How can I fix this issue so it always fetches the PDF without problems?
Error
1 replies
TTCTheo's Typesafe Cult
•Created by Akash Sharma on 5/20/2024 in #questions
TypeScript Type Mismatch in Microsoft Authentication with Passport
I've created a backend using Microsoft authentication in Express. I'm facing some type errors that are a bit confusing for me.
passport.tsx
custom.d.ts
microsoftRoutes.tsx
req.user possibly 'undefined'
req.user:Express.User
but i want req.user:Express.User && IUser
to fix the type issue2 replies
TTCTheo's Typesafe Cult
•Created by Akash Sharma on 4/13/2024 in #questions
It works locally but doesn't save to the database when deployed on Vercel.
It's working fine on my local machine, but after deploying to Vercel, it's not saving data to the database.
18 replies
TTCTheo's Typesafe Cult
•Created by Akash Sharma on 8/1/2023 in #questions
Can anyone suggest a good library for PostgreSQL similar to Mongoose?
I am learning PostgreSQL with Express. Can anyone suggest a good library for PostgreSQL similar to Mongoose?
7 replies