MCPcopy Index your code
hub / github.com/simstudioai/sim / gitlabProjectHooksUrl

Function gitlabProjectHooksUrl

apps/sim/lib/webhooks/providers/gitlab.ts:25–27  ·  view source on GitHub ↗
(projectId: string, host: unknown)

Source from the content-addressed store, hash-verified

23}
24
25function gitlabProjectHooksUrl(projectId: string, host: unknown): string {
26 return `${getGitLabApiBase(host)}/projects/${encodeURIComponent(projectId)}/hooks`
27}
28
29/**
30 * Best-effort cleanup that deletes any project hook pointing at `url`. Used to

Callers 3

cleanupGitLabHookByUrlFunction · 0.85
createSubscriptionFunction · 0.85
deleteSubscriptionFunction · 0.85

Calls 1

getGitLabApiBaseFunction · 0.90

Tested by

no test coverage detected