From 767b9831b9f1f29ca301c53abe3f4cd940e86c4b Mon Sep 17 00:00:00 2001 From: xeovalyte Date: Sun, 13 Nov 2022 20:13:40 +0100 Subject: [PATCH] added subscribe to topic --- frontend/app.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/app.vue b/frontend/app.vue index 4da6253..cff4058 100644 --- a/frontend/app.vue +++ b/frontend/app.vue @@ -128,7 +128,7 @@ const setupNotifications = () => { Authorization: 'Basic WGVvdmFseXRlOmtNKjhuRXMzNTchalJlXm1KYnZrRSFOIw==', '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 => { console.log(response)