fortnite-basic-api
Advanced tools
Comparing version 1.6.0 to 1.6.1
{ | ||
"name": "fortnite-basic-api", | ||
"version": "1.6.0", | ||
"version": "1.6.1", | ||
"description": "basic fortnite api and other things, supporting both v1 and v2, using request-promises, xmpp support", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -6,3 +6,3 @@ module.exports = Object.freeze({ | ||
API_LOGIN: 'https://www.epicgames.com/id/api/login', | ||
API_EXCHANGE_CODE: 'https://www.epicgames.com/id/api/exchange', | ||
API_EXCHANGE_CODE: 'https://www.epicgames.com/id/api/exchange/generate', | ||
API_REPUTATION: 'https://www.epicgames.com/id/api/reputation', | ||
@@ -9,0 +9,0 @@ |
@@ -291,3 +291,3 @@ const exitHook = require('async-exit-hook'); | ||
const exchange = await this.client.requester.sendGet(false, Endpoints.API_EXCHANGE_CODE, | ||
const exchange = await this.client.requester.sendPost(false, Endpoints.API_EXCHANGE_CODE, | ||
undefined, undefined, { 'x-xsrf-token': this.xsrf.value }, false); | ||
@@ -294,0 +294,0 @@ |
92055