Skip to content

Commit

Permalink
fix: templateId expects a number
Browse files Browse the repository at this point in the history
  • Loading branch information
shadcn committed Dec 1, 2022
1 parent 33b4efb commit 0a9f475
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions lib/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,12 @@ import { db } from "@/lib/db"

const postmarkClient = new Client(process.env.POSTMARK_API_TOKEN)

const POSTMARK_SIGN_IN_TEMPLATE = process.env.POSTMARK_SIGN_IN_TEMPLATE
const POSTMARK_ACTIVATION_TEMPLATE = process.env.POSTMARK_ACTIVATION_TEMPLATE
const POSTMARK_SIGN_IN_TEMPLATE = parseInt(
process.env.POSTMARK_SIGN_IN_TEMPLATE
)
const POSTMARK_ACTIVATION_TEMPLATE = parseInt(
process.env.POSTMARK_ACTIVATION_TEMPLATE
)

export const authOptions: NextAuthOptions = {
// huh any! I know.
Expand Down

0 comments on commit 0a9f475

Please sign in to comment.