MCPcopy Index your code
hub / github.com/simstudioai/sim / updateInboxAddress

Function updateInboxAddress

apps/sim/lib/mothership/inbox/lifecycle.ts:138–144  ·  view source on GitHub ↗
(
  workspaceId: string,
  newUsername: string
)

Source from the content-addressed store, hash-verified

136 * 2. Enable new inbox with new username
137 */
138export async function updateInboxAddress(
139 workspaceId: string,
140 newUsername: string
141): Promise<InboxConfig> {
142 await disableInbox(workspaceId)
143 return enableInbox(workspaceId, { username: newUsername })
144}

Callers 1

route.tsFile · 0.90

Calls 2

disableInboxFunction · 0.85
enableInboxFunction · 0.85

Tested by

no test coverage detected