feat : 보스 응답 메시지 문제 수정
This commit is contained in:
@@ -79,7 +79,7 @@ public class RestApi : Singleton<RestApi>
|
||||
{
|
||||
try
|
||||
{
|
||||
HttpResponseMessage response = await httpClient.PostAsJsonAsync(url, new { usernames = userNames, bossId });
|
||||
HttpResponseMessage response = await httpClient.PostAsJsonAsync(url, new { usernames = userNames, bossId = bossId });
|
||||
|
||||
// 401: API 키 인증 실패
|
||||
if (response.StatusCode == HttpStatusCode.Unauthorized)
|
||||
@@ -166,10 +166,10 @@ public class RestApi : Singleton<RestApi>
|
||||
}
|
||||
|
||||
[JsonPropertyName("tokens")]
|
||||
public string? Tokens
|
||||
public Dictionary<string, string> Tokens
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
} = new();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user