Skip to content

Commit

Permalink
fix error code
Browse files Browse the repository at this point in the history
  • Loading branch information
rishikunnath2747 committed Jun 20, 2024
1 parent e0d3559 commit e08142e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/sdm.js
Original file line number Diff line number Diff line change
Expand Up @@ -293,12 +293,11 @@ module.exports = class SDMAttachmentsService extends (
credentials,
token
);
if (response.status != 201) {
if (response.status != 200) {
failedReq.push(response.response.data.message);
}
})
);

return failedReq;
}

Expand Down

0 comments on commit e08142e

Please sign in to comment.