Skip to content

Commit

Permalink
Support unstringified numbers as payloads again
Browse files Browse the repository at this point in the history
  • Loading branch information
albinowax committed Mar 13, 2019
1 parent 06df6c2 commit eea7831
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fast-http.kt
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class RequestEngine:
if payloads == None:
payloads = []
elif(not isinstance(payloads, list)):
payloads = [payloads]
payloads = [str(payloads)]
self.engine.queue(template, payloads, learn, callback)
Expand Down

0 comments on commit eea7831

Please sign in to comment.