Skip to content

Commit 23b83ef

Browse files
committed
Creating a resource returns HTTP 201.
1 parent efc81d4 commit 23b83ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/jira.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ var JiraApi = exports.JiraApi = function(protocol, host, port, username, passwor
668668
return;
669669
}
670670

671-
if (response.statusCode !== 200) {
671+
if (response.statusCode !== 201) {
672672
callback(response.statusCode + ': Unable to connect to JIRA during request.');
673673
return;
674674
}

0 commit comments

Comments
 (0)