diff --git a/docs/templates/concepts/emails.mdx b/docs/templates/concepts/emails.mdx index 12d4f82e2..c15c5b824 100644 --- a/docs/templates/concepts/emails.mdx +++ b/docs/templates/concepts/emails.mdx @@ -167,7 +167,7 @@ For custom email flows, use the `sendEmail` method from your server-side code: ```typescript // In your API route or server action -import { stackServerApp } from '@stackframe/stack';; +import { stackServerApp } from '@stackframe/stack'; export async function inviteUser(email: string) { const result = await stackServerApp.sendEmail({ diff --git a/docs/templates/sdk/index.mdx b/docs/templates/sdk/index.mdx index c76d1afe7..e3da074f9 100644 --- a/docs/templates/sdk/index.mdx +++ b/docs/templates/sdk/index.mdx @@ -43,7 +43,7 @@ export const sdkSections = [ { title: "Email", items: [ - { name: "SendEmailOptions", href: "types/email#sendemaildoptions", icon: "type" }, + { name: "SendEmailOptions", href: "types/email#sendemailoptions", icon: "type" }, ] }, { diff --git a/docs/templates/sdk/objects/stack-app.mdx b/docs/templates/sdk/objects/stack-app.mdx index 8389ff1d3..7b2e9c10d 100644 --- a/docs/templates/sdk/objects/stack-app.mdx +++ b/docs/templates/sdk/objects/stack-app.mdx @@ -808,7 +808,7 @@ const user = await stackServerApp.createUser({ Send custom emails to users. You can send either custom HTML emails or use predefined templates with variables. **Parameters:** - - `options` ([SendEmailOptions](../types/email#sendemaildoptions)) - Email configuration and content + - `options` ([SendEmailOptions](../types/email#sendemailoptions)) - Email configuration and content **Returns:** `Promise>` diff --git a/docs/templates/sdk/types/email.mdx b/docs/templates/sdk/types/email.mdx index 9df30d650..9bca39435 100644 --- a/docs/templates/sdk/types/email.mdx +++ b/docs/templates/sdk/types/email.mdx @@ -6,7 +6,7 @@ full: true This is a detailed reference for email-related types in Stack Auth. If you're looking for a more high-level overview, please refer to our [guide on the email system](../../concepts/emails.mdx). On this page: -- [SendEmailOptions](#sendemaildoptions) +- [SendEmailOptions](#sendemailoptions) ---