Skip to content

Commit

Permalink
added missing %s to format string
Browse files Browse the repository at this point in the history
  • Loading branch information
issork committed Dec 2, 2023
1 parent 3da055a commit 27c4982
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addons/gift/api_connection.gd
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,13 @@ func get_users(names : Array[String], ids : Array[String]) -> Dictionary:
if (names.size() > 0):
params += "login=%s" % names.pop_back()
while(names.size() > 0):
params += "&login=" % names.pop_back()
params += "&login=%s" % names.pop_back()
if (params.length() > 1):
params += "&"
if (ids.size() > 0):
params += "id=%s" % names.pop_back()
while(ids.size() > 0):
params += "&id=" % ids.pop_back()
params += "&id=%s" % ids.pop_back()
var response = await(request(HTTPClient.METHOD_GET,"/helix/users/%s" % params, headers))
match (client.get_response_code()):
400:
Expand Down

0 comments on commit 27c4982

Please sign in to comment.