mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Multi-word channel-names and API-fixes
- Spaces and signs allowed in channel-name - Added missing functioncalls in RESTApi
This commit is contained in:
@@ -20,7 +20,7 @@ function frontpage_lists(msg, socket) {
|
||||
}
|
||||
|
||||
function update_frontpage(coll, id, title, thumbnail, source, callback) {
|
||||
coll = coll.replace(/ /g,'');
|
||||
//coll = coll.replace(/ /g,'');
|
||||
db.collection("frontpage_lists").find({_id: coll}, function(e, doc) {
|
||||
var updateObject = {
|
||||
id: id,
|
||||
|
||||
Reference in New Issue
Block a user