Skip to content

Commit

Permalink
Use /devices endpoint instead of more expensive /deep-refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
derek-miller committed Mar 6, 2024
1 parent a782692 commit eac5b92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aladdinConnect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ export class AladdinConnect {
async () => {
let response: AxiosResponse<AladdinDevicesEntity>;
try {
response = await this.session.get(`https://${AladdinConnect.API_HOST}/deep-refresh`, {
response = await this.session.get(`https://${AladdinConnect.API_HOST}/devices`, {
headers: {
Authorization: `Bearer ${await this.getAccessToken()}`,
},
Expand Down

0 comments on commit eac5b92

Please sign in to comment.