MCPcopy Create free account
hub / github.com/adcontextprotocol/adcp / getRequest

Method getRequest

server/src/db/join-request-db.ts:70–76  ·  view source on GitHub ↗

* Get a join request by ID

(id: string)

Source from the content-addressed store, hash-verified

68 * Get a join request by ID
69 */
70 async getRequest(id: string): Promise<JoinRequest | null> {
71 const result = await query<JoinRequest>(
72 'SELECT * FROM organization_join_requests WHERE id = $1',
73 [id]
74 );
75 return result.rows[0] || null;
76 }
77
78 /**
79 * Get pending request for a user and organization

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected