mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-13 21:01:21 +08:00
Fix spelling errors
This commit is contained in:
parent
dc15780377
commit
f939a590b5
2
docs/templates/concepts/emails.mdx
vendored
2
docs/templates/concepts/emails.mdx
vendored
@ -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({
|
||||
|
||||
2
docs/templates/sdk/index.mdx
vendored
2
docs/templates/sdk/index.mdx
vendored
@ -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" },
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
2
docs/templates/sdk/objects/stack-app.mdx
vendored
2
docs/templates/sdk/objects/stack-app.mdx
vendored
@ -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<Result<void, KnownErrors>>`
|
||||
|
||||
|
||||
2
docs/templates/sdk/types/email.mdx
vendored
2
docs/templates/sdk/types/email.mdx
vendored
@ -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)
|
||||
|
||||
---
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user