update lib/data/mongodb.js
Sorry a pull request again to remove the line to correct setBoardSize function with mondoDB
This commit is contained in:
parent
a1973a480e
commit
de4815df15
1 changed files with 0 additions and 1 deletions
|
@ -164,7 +164,6 @@ db.prototype = {
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
setBoardSize: function(room, size) {
|
setBoardSize: function(room, size) {
|
||||||
this.room.findOne({name:room})
|
|
||||||
this.rooms.update(
|
this.rooms.update(
|
||||||
{name:room},
|
{name:room},
|
||||||
{$set:{'size':size}}
|
{$set:{'size':size}}
|
||||||
|
|
Loading…
Add table
Reference in a new issue