mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-14 05:57:32 -07:00
コミット忘れ
This commit is contained in:
parent
98f28bbf03
commit
59007c6770
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
import redis from '../db/redis';
|
import { redisClient } from '../db/redis';
|
||||||
import { User } from '../models/entities/user';
|
import { User } from '../models/entities/user';
|
||||||
import { Note } from '../models/entities/note';
|
import { Note } from '../models/entities/note';
|
||||||
import { UserList } from '../models/entities/user-list';
|
import { UserList } from '../models/entities/user-list';
|
||||||
|
@ -14,7 +14,7 @@ class Publisher {
|
||||||
{ type: type, body: null } :
|
{ type: type, body: null } :
|
||||||
{ type: type, body: value };
|
{ type: type, body: value };
|
||||||
|
|
||||||
redis.publish(config.host, JSON.stringify({
|
redisClient.publish(config.host, JSON.stringify({
|
||||||
channel: channel,
|
channel: channel,
|
||||||
message: message
|
message: message
|
||||||
}));
|
}));
|
||||||
|
|
Loading…
Reference in a new issue