Skip to content

Commit

Permalink
endpoint bug fix again
Browse files Browse the repository at this point in the history
  • Loading branch information
foomoon committed Feb 1, 2024
1 parent 1ead920 commit 064e2db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/lib/light.js
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@ export class Light {
*/
getCurrentMovie() {
return __awaiter(this, void 0, void 0, function* () {
let res = yield this.sendGetRequest("/movie/current", {});
let res = yield this.sendGetRequest("/movies/current", {});
return res;
});
}
Expand Down
2 changes: 1 addition & 1 deletion src/lib/light.ts
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ export class Light {
* @returns response from device
*/
async getCurrentMovie(): Promise<object> {
let res = await this.sendGetRequest("/movie/current", {});
let res = await this.sendGetRequest("/movies/current", {});
return res;
}
/**
Expand Down

0 comments on commit 064e2db

Please sign in to comment.