How to pull in Heroku postgres credentials for next-auth?
Your getCredentials
is an async function, meaning it returns a promise. As such you'll need to await
for it.
database: await getCredentials()
Your getCredentials
is an async function, meaning it returns a promise. As such you'll need to await
for it.
database: await getCredentials()