Skip to content

Commit a74933e

Browse files
author
Chris Moultrie
committed
Fixed readme issue (thanks to gmaghera)
1 parent 565c75a commit a74933e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Find the status of an issue.
3333

3434
var jira = new JiraApi('https', config.host, config.port, config.user, config.password, '2.0.alpha1');
3535
jira.findIssue(issueNumber, function(error, issue) {
36-
console.log('Status: ' + issue.fields.status.value.name);
36+
console.log('Status: ' + issue.fields.status.name);
3737
});
3838

3939
Currently there is no explicit login call necessary as each API call uses Basic Authentication to authenticate.

lib/jira.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
//
3434
// var jira = new JiraApi('https', config.host, config.port, config.user, config.password, '2.0.alpha1');
3535
// jira.findIssue(issueNumber, function(error, issue) {
36-
// console.log('Status: ' + issue.fields.status.value.name);
36+
// console.log('Status: ' + issue.fields.status.name);
3737
// });
3838
//
3939
// Currently there is no explicit login call necessary as each API call uses Basic Authentication to authenticate.

0 commit comments

Comments
 (0)