mirror of
https://github.com/yawaflua/yaflay.ru.git
synced 2025-12-13 17:16:26 +02:00
bugfix
This commit is contained in:
@@ -77,7 +77,7 @@
|
||||
}
|
||||
string responseBody = await message.Content.ReadAsStringAsync();
|
||||
JsonNode response = JsonNode.Parse(responseBody);
|
||||
if (response["user"] != null)
|
||||
if (!response["user"].isNull())
|
||||
{
|
||||
Context.Response.Cookies.Append("cable", response["user"]["id"].ToString());
|
||||
string userName = response["user"]["global_name"].ToString();
|
||||
|
||||
Reference in New Issue
Block a user