Skip to content

Commit e1a9749

Browse files
committed
new fixes
1 parent e78c170 commit e1a9749

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

0-learn/models/users.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ User.setGet(function*(error, model, options, callback) {
3131

3232
var user = yield sync(builder.$$findOne(db))();
3333
if (user !== null) {
34-
U.copy(user, model); // copy "user" values to "model" (model is a default "User" instance)
34+
U.copy(user, model); // copies "user" values to "model" (model is a default "User" instance)
3535
return callback(); // if you don't send any value into the callback then the framework uses "model"
3636
}
3737

0-learn/readme.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Work in progress...
2+
3+
- `$ npm install mongodb`
4+
- `$ npm install mongodb-addons`

0 commit comments

Comments
 (0)