TS saying I have no ID when I do?
I'm working on a postgres next auth adapter.
Here's my schema:
Here's where I'm having issue in my adapter:
this is what my import looks like:
the insert works for users, sessions and vts, but not accounts? these are my errors:
ID definitely exists, it even shows it existing in the error. deleting the id row does not help.
4 Replies
Can you share
account
type? linkAccount
function param
Trying to debug itit was a very small silly error on my part, it should be
expires_in
instead of expires_at
Got it
appreciate you looking to debug 🙏
it's frustrating typescript gave me the error on the id, when the error was the expires_at