Skip to content

Commit

Permalink
closes #89
Browse files Browse the repository at this point in the history
  • Loading branch information
radekstepan committed Apr 20, 2013
1 parent 7228473 commit 4168242
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion build/server/utils.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 1 addition & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,8 @@
"description": "A forms based node.js CMS ala SilverStripe, but smaller",
"keywords": [ "cms" ],
"author": "Radek <rs676@cam.ac.uk>",
"version": "3.0.2",
"version": "3.0.3",
"preferGlobal": false,
"engines": {
"node": "0.8.x",
"npm": "1.1.x"
},
"dependencies": {
"coffee-script": "1.3.3",
"flatiron": "0.3.4",
Expand Down
2 changes: 1 addition & 1 deletion src/server/utils.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ exports.db =
# Dump the DB.
, (collection, cb) ->
EE.emit 'log', 'Dump the database'
collection.find({}, 'sort': 'url').toArray (err, docs) -> if err then cb(err) else cb(docs)
collection.find({}, 'sort': 'url').toArray (err, docs) -> if err then cb(err) else cb(null, docs)
# Open file for writing and write file.
, (docs, cb) ->
Expand Down

0 comments on commit 4168242

Please sign in to comment.