fix
This commit is contained in:
parent
8d64720933
commit
1a288f4d2d
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ namespace BirdsiteLive.Twitter
|
||||||
|
|
||||||
_statisticsHandler.CalledTweetApi();
|
_statisticsHandler.CalledTweetApi();
|
||||||
if (tweet == null) return null; //TODO: test this
|
if (tweet == null) return null; //TODO: test this
|
||||||
return Extract(tweet.RootElement);
|
return tweet.RootElement.GetProperty("data").EnumerateArray().Select<JsonElement, ExtractedTweet>(Extract).ToArray().First();
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue