Skip to content

Commit

Permalink
Merge pull request #40 from digital-mint-creature/master
Browse files Browse the repository at this point in the history
Fix user lookup by ID
  • Loading branch information
issork authored May 7, 2024
2 parents 3ef9a20 + 47be604 commit 617490d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/gift/api_connection.gd
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func get_users(names : Array[String], ids : Array[String]) -> Dictionary:
if (params.length() > 1):
params += "&"
if (ids.size() > 0):
params += "id=%s" % names.pop_back()
params += "id=%s" % ids.pop_back()
while(ids.size() > 0):
params += "&id=%s" % ids.pop_back()
var response = await(request(HTTPClient.METHOD_GET,"/helix/users/%s" % params, headers))
Expand Down

0 comments on commit 617490d

Please sign in to comment.