Skip to content

Commit 584e4b6

Browse files
committed
Fix naming mismatch
1 parent d6d3b00 commit 584e4b6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
const Homey = require('homey');
44
const axios = require('axios');
55
const { parseStringPromise } = require('xml2js');
6-
const { URL } = require('url');
76

87
module.exports = class AndroidworldApp extends Homey.App {
98

@@ -37,7 +36,7 @@ module.exports = class AndroidworldApp extends Homey.App {
3736
try {
3837
const posts = await this.getAndroidworldFeed();
3938
const latestPost = posts[0];
40-
const lastPostUrl = await this.homey.settings.get('lastPostId');
39+
const lastPostUrl = await this.homey.settings.get('lastPostUrl');
4140
const isFirstRun = await this.homey.settings.get('isFirstRun');
4241
if (isFirstRun) {
4342
this.homey.settings.set('isFirstRun', false);

0 commit comments

Comments
 (0)