Fix WS revalidate on tournament bracket & match pages (#3061)

This commit is contained in:
Kalle
2026-05-13 20:17:29 +03:00
committed by GitHub
parent eafd10f3a9
commit 20118fb7a5
14 changed files with 79 additions and 3 deletions

View File

@@ -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,
};
});