コミット忘れ

This commit is contained in:
syuilo 2021-03-23 14:56:01 +09:00
parent 98f28bbf03
commit 59007c6770

View File

@ -1,4 +1,4 @@
import redis from '../db/redis';
import { redisClient } from '../db/redis';
import { User } from '../models/entities/user';
import { Note } from '../models/entities/note';
import { UserList } from '../models/entities/user-list';
@ -14,7 +14,7 @@ class Publisher {
{ type: type, body: null } :
{ type: type, body: value };
redis.publish(config.host, JSON.stringify({
redisClient.publish(config.host, JSON.stringify({
channel: channel,
message: message
}));