Skip to content

Commit

Permalink
chore: remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpeintner committed Nov 27, 2019
1 parent d6f5ee1 commit 15c344e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/core/src/exposed-thing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,6 @@ export default class ExposedThing extends TD.Thing implements WoT.ExposedThing {
console.log(`ExposedThing '${this.title}' calls registered readHandler for Property '${propertyName}'`);
let ps: PropertyState = this.properties[propertyName].getState();
ps.readHandler(options).then((customValue) => {
// XXX is it needed to store value? see https://github.com/eclipse/thingweb.node-wot/issues/149
// update internal state in case writeHandler wants to get the value
// this.properties[propertyName].value = customValue;
resolve(customValue);
});
} else {
Expand Down

0 comments on commit 15c344e

Please sign in to comment.