We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a43e46 commit d95b959Copy full SHA for d95b959
src/services/testRun.service.ts
@@ -85,12 +85,12 @@ async function addIgnoreAreas(data: UpdateIgnoreAreaDto): Promise<void> {
85
86
async function update(id: string, data: { comment: string }): Promise<TestRun> {
87
const requestOptions = {
88
- method: "PUT",
+ method: "PATCH",
89
headers: { "Content-Type": "application/json", ...authHeader() },
90
body: JSON.stringify(data),
91
};
92
93
- return fetch(`${API_URL}${ENDPOINT_URL}/comment/${id}`, requestOptions).then(
+ return fetch(`${API_URL}${ENDPOINT_URL}/update/${id}`, requestOptions).then(
94
handleResponse
95
);
96
}
0 commit comments