Skip to content

Commit

Permalink
release the version with working removal by foreign id
Browse files Browse the repository at this point in the history
  • Loading branch information
tschellenbach committed Nov 12, 2014
1 parent dbb7e29 commit 5a73887
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "getstream",
"version": "2.0.2",
"version": "2.0.3",
"main": "dist/js/getstream.js",
"ignore": [
"src",
Expand Down
6 changes: 3 additions & 3 deletions dist/js/getstream.js
Original file line number Diff line number Diff line change
Expand Up @@ -3423,6 +3423,7 @@ StreamFeed.prototype = {
removeActivity : function(activityId, callback) {
/*
* Removes the activity by activityId
* feed.removeActivity(activityId);
* Or
* feed.removeActivity({'foreign_id': foreignId});
*/
Expand All @@ -3431,9 +3432,8 @@ StreamFeed.prototype = {
if (activityId.foreignId) {
params.foreign_id = '1';
}
var xhr = this.client.
delete ( {
'url' : 'feed/' + this.feedUrl + '/' + activityId + '/',
var xhr = this.client.delete( {
'url' : 'feed/' + this.feedUrl + '/' + identifier + '/',
'qs' : params,
'signature' : this.signature
}, callback);
Expand Down
2 changes: 1 addition & 1 deletion dist/js_min/getstream.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"description": "The official low-level GetStream.io client for Node.js and the browser.",
"main": "./src/getstream.js",
"homepage": "https://getstream.io/",
"version": "2.0.2",
"version": "2.0.3",
"config": {
"blanket": {
"pattern": "src"
Expand Down

0 comments on commit 5a73887

Please sign in to comment.