Skip to content

Commit

Permalink
eslint: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-theret committed May 10, 2024
1 parent ab7e01f commit 0ea84fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/api/requestNewPassword.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const requestNewPassword = async (email: string): Promise<RequestNewPassw
const response = await TurboselfFetcher("https://api-rest-prod.incb.fr" + SEND_PASSWORD_RESET_REQUEST(email), {
method: "GET",
headers: {
"Content-Type": "application/json",
"Content-Type": "application/json"
}
});

Expand Down
2 changes: 1 addition & 1 deletion lib/client/Turboself.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default class Turboself {
private async refreshToken(): Promise<boolean> {
await authenticateWithCredentials({
username: this.loginData.username,
password: this.loginData.password,
password: this.loginData.password
}).then((data) => {
this.token = data.token;
this.tokenExpires = Date.now() + 55 * 60 * 1000;
Expand Down

0 comments on commit 0ea84fa

Please sign in to comment.