Skip to content
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.

Commit

Permalink
完成到CS版API的迁移工作
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiichiamane committed May 18, 2019
1 parent 11aba5e commit 26467c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PixivFSUWP/Data/CurrentUser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public class CurrentUser
public static CurrentUser FromJsonValue(JsonObject Source)
{
CurrentUser toret = new CurrentUser();
toret.ID = (int)Source["id"].GetNumber();
toret.ID = Convert.ToInt32(Source["id"].GetString());
toret.Username = Source["name"].GetString();
toret.UserAccount = Source["account"].GetString();
toret.Email = Source["mail_address"].GetString();
Expand Down

0 comments on commit 26467c6

Please sign in to comment.