mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-06 12:27:44 +00:00
chore: cleanup
This commit is contained in:
@@ -9,7 +9,6 @@ import {
|
||||
oAuthProxy,
|
||||
openAPI,
|
||||
oidcProvider,
|
||||
createAuthMiddleware,
|
||||
} from "better-auth/plugins";
|
||||
import { reactInvitationEmail } from "./email/invitation";
|
||||
import { LibsqlDialect } from "@libsql/kysely-libsql";
|
||||
@@ -110,7 +109,7 @@ export const auth = betterAuth({
|
||||
plugins: [
|
||||
organization({
|
||||
async sendInvitationEmail(data) {
|
||||
const res = await resend.emails.send({
|
||||
await resend.emails.send({
|
||||
from,
|
||||
to: data.email,
|
||||
subject: "You've been invited to join an organization",
|
||||
|
||||
Reference in New Issue
Block a user