Permalink
Browse files

Changed addStoryComment() request method from PUT to POST.

  • Loading branch information...
1 parent 3af217e commit a9fc0756662fcadff7cf21280b5bd82c6d93b7f7 @tpmo tpmo committed Jul 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 index.js
View
@@ -426,7 +426,7 @@ pivotal.addStoryAttachment = function (projectId, storyId, fileData, cb) {
*/
pivotal.addStoryComment = function (projectId, storyId, comment, cb) {
- pivotal.apiCall("PUT", ["projects", projectId, "stories", storyId, "notes"], null, { note: { text : comment } }, null, cb);
+ pivotal.apiCall("POST", ["projects", projectId, "stories", storyId, "notes"], null, { note: { text : comment } }, null, cb);
};
/**

0 comments on commit a9fc075

Please sign in to comment.