Skip to content

Commit

Permalink
Fixing bug within issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jdalrymple committed Jun 23, 2017
1 parent 16629d2 commit 50642ad
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ MIT
Changelog
=========

[1.0.7](https://github.com/jdalrymple/node-gitlab-api/commit/2b02d1e354c1c267683d10b893ad055fe856a214) (2017-06-23)
------------------
- Fixing bug within the Issues API; reference to an old function.

[1.0.6](https://github.com/jdalrymple/node-gitlab-api/commit/2b02d1e354c1c267683d10b893ad055fe856a214) (2017-06-23)
------------------
- Fixing bug within the Labels API; Missing required argument.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-gitlab-api",
"version": "1.0.6",
"version": "1.0.7",
"description": "Full NodeJS implementation of the GitLab API. Supports Promises, Async/Await.",
"main": "src/index.js",
"directories": {},
Expand Down
2 changes: 1 addition & 1 deletion src/Models/ProjectIssues.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class ProjectIssues extends BaseModel {
options.page = options.page || 1;
options.per_page = options.per_page || 100;

return this.get(`projects/${Utils.parseProjectId(projectId)}/issues`, options);
return this.get(`projects/${Utils.parse(projectId)}/issues`, options);
}

create(projectId, options = {}) {
Expand Down

0 comments on commit 50642ad

Please sign in to comment.