mirror of
https://github.com/sstent/alex_app1.git
synced 2026-02-16 04:05:49 +00:00
getting there
This commit is contained in:
1
app.js
1
app.js
@@ -151,6 +151,7 @@ io.sockets.on('connection', function(socket) {
|
||||
////////////////////////
|
||||
socket.on('addactivity', function(data, docid) {
|
||||
console.log('addactivity' + docid);
|
||||
console.log('add_activity_data' + JSON.stringify(data));
|
||||
if (docid === null) {
|
||||
var document_id = new BSON.ObjectID();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user