Skip to content

Commit

Permalink
Specify resend auth key
Browse files Browse the repository at this point in the history
  • Loading branch information
evadecker committed Sep 17, 2024
1 parent ad285d0 commit 540579c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion convex/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,10 @@ import Resend from "@auth/core/providers/resend";
import { convexAuth } from "@convex-dev/auth/server";

export const { auth, signIn, signOut, store } = convexAuth({
providers: [Resend],
providers: [
Resend({

Check failure on line 6 in convex/auth.ts

View workflow job for this annotation

GitHub Actions / Format

Type 'EmailConfig' is not assignable to type 'AuthProviderConfig'.
apiKey: process.env.AUTH_RESEND_KEY,
from: "[email protected]",
}),
],
});

0 comments on commit 540579c

Please sign in to comment.