function updateBusinessEmail
updateBusinessEmail(email: string): Promise<void>

Updates the business email in the database and invalidates the settings cache. Pass empty string to clear the business email. Email is encrypted at rest.

Parameters

email: string

Return Type

Promise<void>

Usage

import { updateBusinessEmail } from "doc.ts";