(auth: AuthContext | null, id: string)
| 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 |
no test coverage detected