Skip to content

Commit

Permalink
Fix CollectionFS
Browse files Browse the repository at this point in the history
  • Loading branch information
Urigo committed May 28, 2015
1 parent 86ef75e commit 430f626
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/angular-meteor-meteorCollection.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ angularMeteorCollections.factory('AngularMeteorCollection', ['$q', '$meteorSubsc
var deferred = $q.defer();

// delete $$hashkey
item = angular.copy(item);
if (!item instanceof File)
item = angular.copy(item);

if (item._id) { // Performs an update if the _id property is set.
var item_id = item._id; // Store the _id in temporary variable
Expand Down

0 comments on commit 430f626

Please sign in to comment.