Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Commit

Permalink
Fix health
Browse files Browse the repository at this point in the history
NolanTrem committed Jul 19, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 945c911 commit a68200a
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "r2r-js",
"version": "1.2.1",
"version": "1.2.2",
"description": "",
"main": "dist/index.js",
"browser": "dist/index.browser.js",
2 changes: 1 addition & 1 deletion src/r2rClient.ts
Original file line number Diff line number Diff line change
@@ -121,7 +121,7 @@ export class r2rClient {

if (
this.accessToken &&
!["register", "login", "verify_email"].includes(endpoint)
!["register", "login", "verify_email", "health"].includes(endpoint)
) {
config.headers.Authorization = `Bearer ${this.accessToken}`;
}

0 comments on commit a68200a

Please sign in to comment.