Skip to content

Commit

Permalink
Wrong delete
Browse files Browse the repository at this point in the history
  • Loading branch information
saiqulhaq committed Feb 10, 2018
1 parent 211c3d1 commit 849790a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/github-issues.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export default class GitHubIssueService {
.post('issues/' + this.issueNumber + '/comments', { body: body })
})
.then((response) => {
return serialization.deserializeCommentToProject(response)
return serialization.deserializeCommentToProject(response.data)
})
}

Expand All @@ -92,7 +92,7 @@ export default class GitHubIssueService {
return this.github.repo.patch('issues/comments/' + project.id, { body: body })
})
.then(response => {
return serialization.deserializeCommentToProject(response)
return serialization.deserializeCommentToProject(response.data)
})
}

Expand Down

0 comments on commit 849790a

Please sign in to comment.