tweet news

This commit is contained in:
HolgerHatGarKeineNode
2023-02-11 16:53:51 +01:00
parent a95e6222d2
commit a067408463
15 changed files with 147 additions and 27 deletions

View File

@@ -48,19 +48,6 @@ class LibraryItemObserver
$this->postTweet($text);
}
} else {
if (!$libraryItem->approved) {
return;
}
$text = sprintf("Ein neuer News-Artikel wurde verfasst:\n\n%s\n\n%s\n\n#Bitcoin #News #Einundzwanzig #gesundesgeld",
$libraryItemName,
url()->route('article.view',
['libraryItem' => $libraryItem->slug]),
);
//$this->postTweet($text);
}
}
} catch (\Exception $e) {