Skip to content

Commit

Permalink
修复小失误
Browse files Browse the repository at this point in the history
  • Loading branch information
Genteure committed Nov 13, 2019
1 parent eb9283a commit bfcd2cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BililiveRecorder.Core/BililiveAPI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ public static async Task<RoomInfo> GetRoomInfoAsync(int roomid)
var user = await HttpGetJsonAsync($@"https://api.live.bilibili.com/live_user/v1/UserInfo/get_anchor_in_room?roomid={roomid}");
if (user["code"].ToObject<int>() != 0)
{
logger.Warn("不能获取 {roomid} 的信息2: {errormsg}", roomid, room["message"]?.ToObject<string>());
logger.Warn("不能获取 {roomid} 的信息2: {errormsg}", roomid, user["message"]?.ToObject<string>());
return null;
}

Expand Down

0 comments on commit bfcd2cd

Please sign in to comment.