Skip to content

Commit

Permalink
fix a typo in 7af735e
Browse files Browse the repository at this point in the history
closes #373
  • Loading branch information
rand256 committed Jan 13, 2021
1 parent c3d6bfb commit 78ece70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/miio/Vacuum.js
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@ Vacuum.prototype.getCleanRecordMap = function (recordId, callback) {
*/
Vacuum.prototype.setLabStatus = function(flag, callback) {
const labStatus = flag ? 1 : 0;
if (self.features.multimap) {
if (this.features.multimap) {
this.sendMessage("set_lab_status", [{lab_status: labStatus}], {}, callback);
} else {
this.sendMessage("set_lab_status", [labStatus], {}, callback);
Expand Down

0 comments on commit 78ece70

Please sign in to comment.