|
|
|
|
24
|
const handleSubscribeMessage = () => {
|
24
|
const handleSubscribeMessage = () => {
|
25
|
const messageType = MESSAGE_TYPE.ACTIVITY
|
25
|
const messageType = MESSAGE_TYPE.ACTIVITY
|
26
|
showSubscribeMessage(messageType).then(() => {
|
26
|
showSubscribeMessage(messageType).then(() => {
|
27
|
- fetch({ url: `${API_SUBSCRIBE_MESSAGE}`, payload: { messageType }, showToast: false })
|
|
|
|
|
27
|
+ fetch({ url: `${API_SUBSCRIBE_MESSAGE}`, method: 'POST', payload: { messageType, buildingId }, showToast: false })
|
28
|
})
|
28
|
})
|
29
|
}
|
29
|
}
|
30
|
|
30
|
|