Skip to content

Commit 591e7a0

Browse files
committed
ui: fix not printing message response in case of HTTP status 202
1 parent 0d04168 commit 591e7a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/modules/api.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ export async function callDittoREST(method,
378378
throw new Error('An error occurred: ' + response.status);
379379
}
380380
}
381-
if (response.status !== 204 && response.status !== 202) {
381+
if (response.status !== 204) {
382382
if (returnHeaders) {
383383
return response;
384384
} else {

0 commit comments

Comments
 (0)