Skip to content

Commit d95b959

Browse files
authored
1 parent 0a43e46 commit d95b959

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/services/testRun.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,12 @@ async function addIgnoreAreas(data: UpdateIgnoreAreaDto): Promise<void> {
8585

8686
async function update(id: string, data: { comment: string }): Promise<TestRun> {
8787
const requestOptions = {
88-
method: "PUT",
88+
method: "PATCH",
8989
headers: { "Content-Type": "application/json", ...authHeader() },
9090
body: JSON.stringify(data),
9191
};
9292

93-
return fetch(`${API_URL}${ENDPOINT_URL}/comment/${id}`, requestOptions).then(
93+
return fetch(`${API_URL}${ENDPOINT_URL}/update/${id}`, requestOptions).then(
9494
handleResponse
9595
);
9696
}

0 commit comments

Comments
 (0)