From 27a8abfa76d78513e1066475ab7ffcff597dd762 Mon Sep 17 00:00:00 2001 From: Bram Kortooms Date: Tue, 17 Dec 2024 13:22:40 +0200 Subject: [PATCH] fix: stop discovery endpoint --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 5421497..67737f7 100644 --- a/src/index.ts +++ b/src/index.ts @@ -18,7 +18,7 @@ async function stopDiscovery(uuid: string) { action: 'stop' }; const restRes = await restc.update( - `api/v2/projects/${projectId}/discoveries/${uuid}`, + `api/v2/projects/${projectId}/discoveries/${uuid}/lifecycle`, payload, options );