eslint ok in local
This commit is contained in:
parent
4f54d5a462
commit
2a87754419
2 changed files with 3 additions and 3 deletions
|
|
@ -10,7 +10,7 @@ export async function broadcast(fastify: FastifyInstance, data: ClientMessage, s
|
|||
|
||||
const Allusers: User[] = fastify.db.getAllUsers() ?? [];
|
||||
if (!data.user) return;
|
||||
const senderUser = getUserByName(Allusers, data.user)
|
||||
const senderUser = getUserByName(Allusers, data.user);
|
||||
if (!senderUser) return;
|
||||
const list:BlockRelation[] = whoBlockedMe(fastify, senderUser.id);
|
||||
const sockets = await fastify.io.fetchSockets();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue