added subscribe to topic
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
28e9fd8e30
commit
767b9831b9
@ -128,7 +128,7 @@ const setupNotifications = () => {
|
|||||||
Authorization: 'Basic WGVvdmFseXRlOmtNKjhuRXMzNTchalJlXm1KYnZrRSFOIw==',
|
Authorization: 'Basic WGVvdmFseXRlOmtNKjhuRXMzNTchalJlXm1KYnZrRSFOIw==',
|
||||||
'content-type': 'application/json'
|
'content-type': 'application/json'
|
||||||
},
|
},
|
||||||
body: JSON.stringify({ topic: 'all', registrationToken: currentToken })
|
body: JSON.stringify({ topic: 'all', registrationToken: token.value })
|
||||||
}).then(response => response.json())
|
}).then(response => response.json())
|
||||||
.then(response => {
|
.then(response => {
|
||||||
console.log(response)
|
console.log(response)
|
||||||
|
Loading…
Reference in New Issue
Block a user