Permalink
Browse files

Fix bug

  • Loading branch information...
1 parent 9db3126 commit aca6312bff8a2c64c66e572deea839aa2475be18 @benjreinhart benjreinhart committed Mar 17, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 components/edits/model.coffee
@@ -7,7 +7,7 @@ module.exports = class Edit extends Base
EditStore
.where('userId', userId)
.where('_id', editId).exec (err, edit) ->
- return err if err?
+ return cb err if err?
if isEmpty edit then cb() else cb null, (new Edit edit[0])

0 comments on commit aca6312

Please sign in to comment.