diff --git a/dist/lib/light.js b/dist/lib/light.js index 7090806..fa239c6 100644 --- a/dist/lib/light.js +++ b/dist/lib/light.js @@ -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; }); } diff --git a/src/lib/light.ts b/src/lib/light.ts index 50e258c..c587bcd 100644 --- a/src/lib/light.ts +++ b/src/lib/light.ts @@ -656,7 +656,7 @@ export class Light { * @returns response from device */ async getCurrentMovie(): Promise { - let res = await this.sendGetRequest("/movie/current", {}); + let res = await this.sendGetRequest("/movies/current", {}); return res; } /**