proper casing...

This commit is contained in:
Josh Burman 2019-03-25 11:13:16 -04:00
parent 30d0d76b77
commit 51f000e42f
3 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# BRAID v1.0
# BRAID v1.0.5
> Websocket server for the Measure platform
[![Build Status](https://semaphoreci.com/api/v1/projects/7767f0f3-4da6-4c84-9167-4db5402a3262/2573412/badge.svg)](https://semaphoreci.com/yardstick/braid)

View File

@ -58,7 +58,7 @@ class ChannelManager {
createByChannelType(data: any) {
try {
var Channel = require(`./channels/${data.client_type}s/${data.client}channel`);
var Channel = require(`./channels/${data.client_type}s/${data.client}Channel`);
logger.accessLog.info(`attempting to create channel of type ${data.client}, channel id: ${data.channel}...`);
return new Channel(data.channel);
} catch (e) {

View File

@ -1,5 +1,5 @@
module.exports = {
version : '1.0',
version : '1.0.5',
whitelist : (process.env.WHITELIST || "http://admin.localhost").split(','),
secret : process.env.SECRET || "test",
devToken: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjp7ImNsaWVudCI6InRlc3QiLCJjbGllbnRfdHlwZSI6InNpdGUiLCJ1c2VyX3R5cGUiOiJ1c2VyIiwidXNlcl9pZCI6MjAwLCJjaGFubmVsIjoidGVzdF9jaGFubmVsIn0sImF1ZCI6ImludGVybmFsIiwiaXNzIjoiWWFyZHN0aWNrIFNvZnR3YXJlIiwic3ViIjoiQnJhaWQgSldUIn0.5KNCov_EW1cycT4Ay0oSvk4Z4PHFedd3bWOyqkHHTBQ',