mirror of https://github.com/portainer/portainer
5 lines
138 B
TypeScript
5 lines
138 B
TypeScript
|
export function buildUrl(webhookId?: string) {
|
||
|
const baseUrl = '/webhooks';
|
||
|
return webhookId ? `${baseUrl}/${webhookId}` : baseUrl;
|
||
|
}
|