property UseSettingsResult.updateSettings

Applies patch at once, then saves it with PATCH /api/me/settings. A refusal puts the previous settings back and throws.

Type

(patch: UpdateSettingsRequest) => Promise<void>

Usage

import { type UseSettingsResult } from "src/hooks/auth/useSettings.ts";