Skip to content

Commit

Permalink
closes #3 and fixed .git link in package
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Wilkerson committed Mar 22, 2018
1 parent 50731b7 commit 74ff328
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ const adapter = {
this.createEach(identity, s3q, (err, items) => {

if (err) { return done(err); }
if (!s3q.meta || !s3q.meta.fetch) { return done(); }

done(null, items[0]);

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sails-google-cloud-datastore",
"version": "1.0.3",
"version": "1.0.4",
"description": "Google Cloud Datastore adapter for Sails.js/Waterline.",
"main": "./lib/",
"scripts": {
Expand All @@ -24,7 +24,7 @@
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git://github.com/balderdashy/sails-mongo.git"
"url": "git://github.com/DanWilkerson/sails-google-cloud-datastore.git"
},
"dependencies": {
"@google-cloud/datastore": "^1.3.4",
Expand Down

0 comments on commit 74ff328

Please sign in to comment.