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

Method getUrl

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

Source from the content-addressed store, hash-verified

194 }
195
196 async getUrl(auth: AuthContext | null, id: string): Promise<WebhookUrlResponse> {
197 const webhook = await this.get(auth, id);
198 return {
199 id: webhook.id,
200 name: webhook.name,
201 webhookPath: webhook.webhookPath,
202 url: this.buildWebhookUrl(webhook.webhookPath),
203 };
204 }
205
206 // Test parsing script
207

Callers 1

Calls 2

getMethod · 0.95
buildWebhookUrlMethod · 0.95

Tested by

no test coverage detected