mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-10-01 07:37:55 -05:00
Fix WS revalidate on tournament bracket & match pages (#3061)
This commit is contained in:
@@ -25,7 +25,7 @@ function logSkalpError(action: string) {
|
||||
|
||||
type PartialChatMessage = Pick<
|
||||
ChatMessage,
|
||||
"type" | "context" | "room" | "revalidateOnly"
|
||||
"type" | "context" | "room" | "revalidateOnly" | "authorUserId"
|
||||
>;
|
||||
interface ChatSystemMessageService {
|
||||
send: (msg: PartialChatMessage | PartialChatMessage[]) => undefined;
|
||||
@@ -59,6 +59,7 @@ export const send: ChatSystemMessageService["send"] = (partialMsg) => {
|
||||
context: partialMsg.context,
|
||||
type: partialMsg.type,
|
||||
revalidateOnly: partialMsg.revalidateOnly,
|
||||
authorUserId: partialMsg.authorUserId,
|
||||
};
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user