Skip to content

Commit

Permalink
Fix _id is not string
Browse files Browse the repository at this point in the history
closes #2521
  • Loading branch information
gmt2001 committed Jul 23, 2021
1 parent 44b6a65 commit 09d757f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/com/gmt2001/TwitchAPIv5.java
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ public JSONObject UpdateChannel(String channel, String status, String game, int
for (int i = 0; i < a.length() && !found; i++) {
JSONObject o = a.getJSONObject(i);

gn = o.getString("_id");
gn = "" + o.getLong("_id");

if (o.getString("name").equalsIgnoreCase(game)) {
found = true;
Expand Down

0 comments on commit 09d757f

Please sign in to comment.