Unverified Commit 33f25858 authored by Dan Jones's avatar Dan Jones
Browse files

fix: rebuild dist files

parent 038f003d
...@@ -69,7 +69,7 @@ class Adapter { ...@@ -69,7 +69,7 @@ class Adapter {
*/ */
auth() { auth() {
return this.axios return this.axios
.get(`{this.config.api}/token`, { .get(`${this.config.api}/token`, {
params: { params: {
client_id: this.config.client_id, client_id: this.config.client_id,
secret: this.config.secret, secret: this.config.secret,
...@@ -90,7 +90,7 @@ class Adapter { ...@@ -90,7 +90,7 @@ class Adapter {
poll() { poll() {
return this.getAuthorizationHeader() return this.getAuthorizationHeader()
.then((headers) => { .then((headers) => {
return this.axios.get(`{this.config.api}/receive`, { return this.axios.get(`${this.config.api}/receive`, {
headers, headers,
}); });
}) })
...@@ -119,7 +119,7 @@ class Adapter { ...@@ -119,7 +119,7 @@ class Adapter {
return this.getAuthorizationHeader() return this.getAuthorizationHeader()
.then((headers) => { .then((headers) => {
return this.axios.post( return this.axios.post(
`{this.config.api}/send`, `${this.config.api}/send`,
{ {
topic, topic,
body, body,
...@@ -149,7 +149,7 @@ class Adapter { ...@@ -149,7 +149,7 @@ class Adapter {
return this.getAuthorizationHeader() return this.getAuthorizationHeader()
.then((headers) => { .then((headers) => {
return this.axios.post( return this.axios.post(
`{this.config.api}/notify`, `${this.config.api}/notify`,
{ {
body, body,
}, },
......
...@@ -71,7 +71,7 @@ class Adapter { ...@@ -71,7 +71,7 @@ class Adapter {
*/ */
auth() { auth() {
return this.axios return this.axios
.get(`{this.config.api}/token`, { .get(`${this.config.api}/token`, {
params: { params: {
client_id: this.config.client_id, client_id: this.config.client_id,
secret: this.config.secret, secret: this.config.secret,
...@@ -92,7 +92,7 @@ class Adapter { ...@@ -92,7 +92,7 @@ class Adapter {
poll() { poll() {
return this.getAuthorizationHeader() return this.getAuthorizationHeader()
.then((headers) => { .then((headers) => {
return this.axios.get(`{this.config.api}/receive`, { return this.axios.get(`${this.config.api}/receive`, {
headers, headers,
}); });
}) })
...@@ -121,7 +121,7 @@ class Adapter { ...@@ -121,7 +121,7 @@ class Adapter {
return this.getAuthorizationHeader() return this.getAuthorizationHeader()
.then((headers) => { .then((headers) => {
return this.axios.post( return this.axios.post(
`{this.config.api}/send`, `${this.config.api}/send`,
{ {
topic, topic,
body, body,
...@@ -151,7 +151,7 @@ class Adapter { ...@@ -151,7 +151,7 @@ class Adapter {
return this.getAuthorizationHeader() return this.getAuthorizationHeader()
.then((headers) => { .then((headers) => {
return this.axios.post( return this.axios.post(
`{this.config.api}/notify`, `${this.config.api}/notify`,
{ {
body, body,
}, },
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment