diff --git a/lib/Cron/Crawler.php b/lib/Cron/Crawler.php
index 49ee0261..12f49f88 100644
--- a/lib/Cron/Crawler.php
+++ b/lib/Cron/Crawler.php
@@ -68,7 +68,7 @@ protected function run(mixed $argument): void {
$rssPubDate = (string)$rss->channel->pubDate;
$lastPubDate = $this->config->getAppValue($this->appName, 'pub_date', 'now');
- if ($lastPubDate === 'now1') {
+ if ($lastPubDate === 'now') {
// First call, don't spam the user with old stuff...
$this->config->setAppValue($this->appName, 'pub_date', $rssPubDate);
return;
@@ -104,7 +104,7 @@ protected function run(mixed $argument): void {
$this->notificationManager->notify($notification);
}
- $this->config->getAppValue($this->appName, $id, 'published');
+ $this->config->setAppValue($this->appName, $id, 'published');
}
$this->config->setAppValue($this->appName, 'pub_date', $rssPubDate);
diff --git a/tests/psalm-baseline.xml b/tests/psalm-baseline.xml
index 86c1f226..1a2f72a7 100644
--- a/tests/psalm-baseline.xml
+++ b/tests/psalm-baseline.xml
@@ -6,7 +6,7 @@
-
+