Browse Source

fix variable name

main
ghost 5 months ago
parent
commit
152d889fa5
  1. 2
      src/cli/bot.php

2
src/cli/bot.php

@ -145,7 +145,7 @@ foreach ($config->feed as $feed) @@ -145,7 +145,7 @@ foreach ($config->feed as $feed)
// Get post k
$k = 0;
if ($posts = $client->getPosts([$feed->target], 1))
if ($posts = $twister->getPosts([$feed->target], 1))
{
if (isset($posts[0]['userpost']['k']))
{

Loading…
Cancel
Save