From 33f25858895526ec5ce52246b90c88dc704716dc Mon Sep 17 00:00:00 2001 From: Dan Jones <dan.jones@noc.ac.uk> Date: Thu, 12 Jan 2023 10:47:34 +0000 Subject: [PATCH] fix: rebuild dist files --- dist/adapter.esm.js | 8 ++++---- dist/adapter.js | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/dist/adapter.esm.js b/dist/adapter.esm.js index a7e1c8d..c8c1dac 100644 --- a/dist/adapter.esm.js +++ b/dist/adapter.esm.js @@ -69,7 +69,7 @@ class Adapter { */ auth() { return this.axios - .get(`{this.config.api}/token`, { + .get(`${this.config.api}/token`, { params: { client_id: this.config.client_id, secret: this.config.secret, @@ -90,7 +90,7 @@ class Adapter { poll() { return this.getAuthorizationHeader() .then((headers) => { - return this.axios.get(`{this.config.api}/receive`, { + return this.axios.get(`${this.config.api}/receive`, { headers, }); }) @@ -119,7 +119,7 @@ class Adapter { return this.getAuthorizationHeader() .then((headers) => { return this.axios.post( - `{this.config.api}/send`, + `${this.config.api}/send`, { topic, body, @@ -149,7 +149,7 @@ class Adapter { return this.getAuthorizationHeader() .then((headers) => { return this.axios.post( - `{this.config.api}/notify`, + `${this.config.api}/notify`, { body, }, diff --git a/dist/adapter.js b/dist/adapter.js index 031bbba..51b0ce2 100644 --- a/dist/adapter.js +++ b/dist/adapter.js @@ -71,7 +71,7 @@ class Adapter { */ auth() { return this.axios - .get(`{this.config.api}/token`, { + .get(`${this.config.api}/token`, { params: { client_id: this.config.client_id, secret: this.config.secret, @@ -92,7 +92,7 @@ class Adapter { poll() { return this.getAuthorizationHeader() .then((headers) => { - return this.axios.get(`{this.config.api}/receive`, { + return this.axios.get(`${this.config.api}/receive`, { headers, }); }) @@ -121,7 +121,7 @@ class Adapter { return this.getAuthorizationHeader() .then((headers) => { return this.axios.post( - `{this.config.api}/send`, + `${this.config.api}/send`, { topic, body, @@ -151,7 +151,7 @@ class Adapter { return this.getAuthorizationHeader() .then((headers) => { return this.axios.post( - `{this.config.api}/notify`, + `${this.config.api}/notify`, { body, }, -- GitLab