@replicode/parallax
Advanced tools
Comparing version 1.1.34 to 1.1.35
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27429
604