mirror of
https://github.com/yawaflua/yaflay.ru.git
synced 2026-02-04 19:04:12 +02:00
hotfix
This commit is contained in:
@@ -69,8 +69,9 @@
|
|||||||
{
|
{
|
||||||
Response.Cookies.Append("melon", body["access_token"].ToString());
|
Response.Cookies.Append("melon", body["access_token"].ToString());
|
||||||
Response.Cookies.Append("watermelon", body["refresh_token"].ToString());
|
Response.Cookies.Append("watermelon", body["refresh_token"].ToString());
|
||||||
|
HttpContent bodytoApi;
|
||||||
try{
|
try{
|
||||||
HttpContent bodytoApi = new StringContent(JsonConvert.SerializeObject(new yaflay.ru.Controllers.HomeController.authorizeBody()
|
bodytoApi = new StringContent(JsonConvert.SerializeObject(new yaflay.ru.Controllers.HomeController.authorizeBody()
|
||||||
{
|
{
|
||||||
discordId = body["user"]["id"].ToString(),
|
discordId = body["user"]["id"].ToString(),
|
||||||
melon = body["access_token"].ToString(),
|
melon = body["access_token"].ToString(),
|
||||||
|
|||||||
Reference in New Issue
Block a user