We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6d3b00 commit 584e4b6Copy full SHA for 584e4b6
app.js
@@ -3,7 +3,6 @@
3
const Homey = require('homey');
4
const axios = require('axios');
5
const { parseStringPromise } = require('xml2js');
6
-const { URL } = require('url');
7
8
module.exports = class AndroidworldApp extends Homey.App {
9
@@ -37,7 +36,7 @@ module.exports = class AndroidworldApp extends Homey.App {
37
36
try {
38
const posts = await this.getAndroidworldFeed();
39
const latestPost = posts[0];
40
- const lastPostUrl = await this.homey.settings.get('lastPostId');
+ const lastPostUrl = await this.homey.settings.get('lastPostUrl');
41
const isFirstRun = await this.homey.settings.get('isFirstRun');
42
if (isFirstRun) {
43
this.homey.settings.set('isFirstRun', false);
0 commit comments