({
channelId,
threadId,
messageId,
imitationId,
isThread,
isReply,
message,
thread,
userId,
}: PushType & { userId: string })
| 83 | }; |
| 84 | |
| 85 | export const pushUser = async ({ |
| 86 | channelId, |
| 87 | threadId, |
| 88 | messageId, |
| 89 | imitationId, |
| 90 | isThread, |
| 91 | isReply, |
| 92 | message, |
| 93 | thread, |
| 94 | userId, |
| 95 | }: PushType & { userId: string }) => { |
| 96 | const e = await request.post(`${getPushUrlSSR()}/api/user`).send({ |
| 97 | user_id: userId, |
| 98 | channel_id: channelId, |
| 99 | thread_id: threadId, |
| 100 | message_id: messageId, |
| 101 | imitation_id: imitationId, |
| 102 | is_thread: isThread, |
| 103 | is_reply: isReply, |
| 104 | message, |
| 105 | thread, |
| 106 | token, |
| 107 | }); |
| 108 | return e.status; |
| 109 | }; |
| 110 | |
| 111 | export const pushUserMention = ({ |
| 112 | userId, |
no test coverage detected