chore: cleanup

This commit is contained in:
Bereket Engida
2025-01-06 14:30:39 +03:00
parent 753f930e88
commit 9f2e45b8c7
525 changed files with 218 additions and 1357 deletions

View File

@@ -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",