@replicode/parallax
Advanced tools
Comparing version
@@ -67,7 +67,11 @@ "use strict"; | ||
let body = { | ||
userID: userID, | ||
address: address | ||
}; | ||
try { | ||
let response = await this.client.post(route, body); | ||
let response = await this.client.post(route, body, { | ||
headers: { | ||
'X-EXTERNAL-ID': userID, | ||
'X-EXTERNAL-TYPE': 'discord' | ||
} | ||
}); | ||
let didAdd = response.data; | ||
@@ -74,0 +78,0 @@ return didAdd; |
{ | ||
"name": "@replicode/parallax", | ||
"version": "1.1.34", | ||
"version": "1.1.35", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index", |
@@ -76,3 +76,2 @@ import { Injectable, Logger } from '@nestjs/common'; | ||
let body = { | ||
userID: userID, | ||
address: address | ||
@@ -83,3 +82,8 @@ }; | ||
let response:AxiosResponse = await this.client.post(route, body); | ||
let response:AxiosResponse = await this.client.post(route, body, { | ||
headers: { | ||
'X-EXTERNAL-ID': userID, | ||
'X-EXTERNAL-TYPE': 'discord' | ||
} | ||
}); | ||
let didAdd: Boolean = response.data as Boolean; | ||
@@ -86,0 +90,0 @@ return didAdd; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
27429
1.05%604
1.34%