张延森 3 vuotta sitten
vanhempi
commit
2f85bec448
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1
    1
      src/pages/index/buildingDetail/components/BasicInfo/index.jsx

+ 1
- 1
src/pages/index/buildingDetail/components/BasicInfo/index.jsx Näytä tiedosto

@@ -24,7 +24,7 @@ export default function BasicInfo (props) {
24 24
   const handleSubscribeMessage = () => {
25 25
     const messageType = MESSAGE_TYPE.ACTIVITY 
26 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