Skip to content
Snippets Groups Projects
Commit 00bc097a authored by syuilo's avatar syuilo
Browse files

コミット忘れ

parent 5c3a56b2
No related branches found
No related tags found
No related merge requests found
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
}));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment