48ea805999 (commitcomment-48584326)
This commit is contained in:
syuilo 2021-03-23 14:54:09 +09:00
parent 48ea805999
commit 5c3a56b283
10 changed files with 42 additions and 39 deletions

View file

@ -1,5 +1,5 @@
import define from '../define';
import redis from '../../../db/redis';
import { redisClient } from '../../../db/redis';
import config from '../../../config';
export const meta = {
@ -13,7 +13,7 @@ export const meta = {
export default define(meta, (ps, user) => {
return new Promise((res, rej) => {
redis.pubsub('numsub', config.host, (_, x) => {
redisClient.pubsub('numsub', config.host, (_, x) => {
res({
count: x[1]
});