Files
2026-07-13 12:08:39 +08:00

5 lines
138 B
TypeScript

export function buildUrl(webhookId?: string) {
const baseUrl = '/webhooks';
return webhookId ? `${baseUrl}/${webhookId}` : baseUrl;
}