Skip to content

Commit

Permalink
mojang login api /invalidate return 204 status code
Browse files Browse the repository at this point in the history
  • Loading branch information
AlphaBs committed May 17, 2020
1 parent c107f01 commit 197c236
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CmlLib/Core/MLogin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ public bool Invalidate()
};

var res = mojangRequest("invalidate", job.ToString());
return res.StatusCode == HttpStatusCode.OK; // 200
return res.StatusCode == HttpStatusCode.NoContent; // 204
}

public bool Signout(string id, string pw)
Expand Down

0 comments on commit 197c236

Please sign in to comment.