user creation and invites
This commit is contained in:
12
app/api/test-email/route.ts
Normal file
12
app/api/test-email/route.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { sendInviteEmail } from '@/lib/email'
|
||||
import { NextResponse } from 'next/server'
|
||||
|
||||
export async function GET() {
|
||||
await sendInviteEmail({
|
||||
to: 'brian@briannelson.dev',
|
||||
token: 'testtoken123',
|
||||
inviterName: 'Test Admin',
|
||||
})
|
||||
|
||||
return NextResponse.json({ status: 'sent' })
|
||||
}
|
||||
Reference in New Issue
Block a user