mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Fixed issue with channels having spaces
This commit is contained in:
@@ -18,6 +18,7 @@ function frontpage_lists(msg, socket) {
|
||||
}
|
||||
|
||||
function update_frontpage(coll, id, title, callback) {
|
||||
coll = coll.replace(/ /g,'');
|
||||
db.collection("frontpage_lists").update({_id: coll}, {$set: {
|
||||
id: id,
|
||||
title: title,
|
||||
|
||||
Reference in New Issue
Block a user