MCPcopy Create free account
hub / github.com/ShipSecAI/studio / get

Method get

backend/src/webhooks/webhooks.service.ts:45–52  ·  view source on GitHub ↗
(auth: AuthContext | null, id: string)

Source from the content-addressed store, hash-verified

43 }
44
45 async get(auth: AuthContext | null, id: string): Promise<WebhookConfiguration> {
46 const organizationId = this.requireOrganizationId(auth);
47 const record = await this.repository.findById(id, { organizationId });
48 if (!record) {
49 throw new NotFoundException(`Webhook ${id} not found`);
50 }
51 return this.mapConfigurationRecord(record);
52 }
53
54 async create(
55 auth: AuthContext | null,

Callers 1

getUrlMethod · 0.95

Calls 3

requireOrganizationIdMethod · 0.95
findByIdMethod · 0.45

Tested by

no test coverage detected