Skip to content

Commit

Permalink
Bug fix: deleteInstances not returning promise
Browse files Browse the repository at this point in the history
  • Loading branch information
MKHenson committed Jul 21, 2016
1 parent c360cce commit f35f992
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/models/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,8 @@ export abstract class Model
};

await Promise.all(promises);

return Promise.resolve(instances.length);
}

/**
Expand Down

0 comments on commit f35f992

Please sign in to comment.