Skip to content

Commit

Permalink
improve
Browse files Browse the repository at this point in the history
  • Loading branch information
Olivier Zalmanski committed Apr 26, 2024
1 parent 22b5eaa commit 19af948
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ariston/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ export default class AristonAPI {

#setCookieExpiration(jar?: CookieJar): void {
if (jar) {
jar.getCookies(DOMAIN, (error, cookies): void => {
jar.getCookies(DOMAIN, (error, cookies) => {
if (error) {
this.#logger.error(error.message)
return
Expand Down

0 comments on commit 19af948

Please sign in to comment.