MCPcopy Create free account
hub / github.com/dailydotdev/apps / openPostChatRoom

Function openPostChatRoom

packages/shared/src/features/liveChat/graphql.ts:127–134  ·  view source on GitHub ↗
(postId: string)

Source from the content-addressed store, hash-verified

125};
126
127export const openPostChatRoom = async (postId: string): Promise<ChatRoom> => {
128 const res = await gqlClient.request<{ openPostChatRoom: ChatRoom }>(
129 OPEN_POST_CHAT_ROOM_MUTATION,
130 { postId },
131 );
132
133 return res.openPostChatRoom;
134};
135
136export const getChatRoom = async (id: string): Promise<ChatRoom | null> => {
137 const res = await gqlClient.request<{ chatRoom: ChatRoom | null }>(

Callers 1

useLiveChatRoomFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected