mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
test
This commit is contained in:
@@ -354,7 +354,7 @@ function change_song(coll, id, np_id)
|
||||
db.collection(coll).find({id:id}, function(err, docs){
|
||||
if(startTime+docs[0]["duration"]<=get_time()-1)
|
||||
{
|
||||
db.collection(coll).update({now_playing:true, id:id},
|
||||
db.collection(coll).update({id:id},
|
||||
{$set:{
|
||||
now_playing:false,
|
||||
votes:0,
|
||||
|
||||
Reference in New Issue
Block a user