Upgrade to jsli 2.0

This commit is contained in:
Calvin Montgomery 2017-07-08 20:11:54 -07:00
parent 486ce04a3e
commit 07179d6c83
33 changed files with 42 additions and 76 deletions

View file

@ -1,10 +1,8 @@
import Promise from 'bluebird';
import { ChannelStateSizeError } from '../errors';
import db from '../database';
import { LoggerFactory } from '@calzoneman/jsli';
const LOGGER = LoggerFactory.getLogger('dbstore');
const LOGGER = require('@calzoneman/jsli')('dbstore');
const SIZE_LIMIT = 1048576;
const QUERY_CHANNEL_DATA = 'SELECT `key`, `value` FROM channel_data WHERE channel_id = ?';