Skip to content

Commit

Permalink
fix: Title parameter in the Project Milestones API was not being pass…
Browse files Browse the repository at this point in the history
…ed in the request

#116
  • Loading branch information
jdalrymple committed Jul 2, 2018
1 parent 0d14dff commit f1c3e1a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 22 deletions.
28 changes: 7 additions & 21 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/templates/ResourceMilestones.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class ResourceMilestones extends BaseService {
create(resourceId, title, options) {
const rId = encodeURIComponent(resourceId);

return RequestHelper.post(this, `${rId}/milestones`, options);
return RequestHelper.post(this, `${rId}/milestones`, { title, ...options });
}

edit(resourceId, milestoneId, options) {
Expand Down

0 comments on commit f1c3e1a

Please sign in to comment.