swcombine.js 0.0.3 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -543,7 +543,7 @@ class AuthenticatedCharacterResource extends PublicCharacterResource {
|
|
|
543
543
|
}
|
|
544
544
|
async getCurrentCharacter() {
|
|
545
545
|
const accessToken = await this.auth.getAccessToken();
|
|
546
|
-
const response = await this.get("
|
|
546
|
+
const response = await this.get("", accessToken);
|
|
547
547
|
if ("error_code" in response.swcapi) {
|
|
548
548
|
throw new Error(`Something went wrong while attempting to call the GET character endpoint: ${response.swcapi.error_message}`);
|
|
549
549
|
}
|
package/dist/index.esm.js
CHANGED
|
@@ -541,7 +541,7 @@ class AuthenticatedCharacterResource extends PublicCharacterResource {
|
|
|
541
541
|
}
|
|
542
542
|
async getCurrentCharacter() {
|
|
543
543
|
const accessToken = await this.auth.getAccessToken();
|
|
544
|
-
const response = await this.get("
|
|
544
|
+
const response = await this.get("", accessToken);
|
|
545
545
|
if ("error_code" in response.swcapi) {
|
|
546
546
|
throw new Error(`Something went wrong while attempting to call the GET character endpoint: ${response.swcapi.error_message}`);
|
|
547
547
|
}
|