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

Function setOauthRowUser

apps/sim/lib/mcp/oauth/storage.ts:146–151  ·  view source on GitHub ↗
(rowId: string, userId: string)

Source from the content-addressed store, hash-verified

144}
145
146export async function setOauthRowUser(rowId: string, userId: string): Promise<void> {
147 await db
148 .update(mcpServerOauth)
149 .set({ userId, updatedAt: new Date() })
150 .where(eq(mcpServerOauth.id, rowId))
151}
152
153export async function loadOauthRowByState(state: string): Promise<McpOauthRow | null> {
154 const [row] = await db

Callers 2

storage.test.tsFile · 0.90
route.tsFile · 0.90

Calls 2

setMethod · 0.65
eqFunction · 0.50

Tested by

no test coverage detected