Skip to content

Commit

Permalink
use proper response code for exception api (201 instead 200) (#435)
Browse files Browse the repository at this point in the history
  • Loading branch information
azhavoro authored and nmanovic committed Apr 30, 2019
1 parent 14d05d7 commit c94e141
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cvat/apps/engine/static/engine/js/logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ class LoggerHandler {
};
xhr.onload = () => {
switch (xhr.status) {
case 200:
case 201:
case 403: // ignore forbidden response
resolve(xhr.response);
break;
Expand Down

0 comments on commit c94e141

Please sign in to comment.