docs: fix invalid typescript in magic-link docs (#877)

This commit is contained in:
Fraol Lemecha
2024-12-13 21:23:13 +03:00
committed by GitHub
parent 613a1f3663
commit 9e56ea2e32

View File

@@ -19,11 +19,7 @@ Magic link or email link is a way to authenticate users without a password. When
export const auth = betterAuth({
plugins: [
magicLink({
sendMagicLink: async ({
email: string,
token: string,
url: string
}, request) => {
sendMagicLink: async ({ email, token, url }, request) => {
// send email to user
}
})