added missing var type
This commit is contained in:
parent
5b37dad373
commit
3ef9a2053c
@ -23,7 +23,7 @@ func _init(twitch_api : TwitchAPIConnection, disk_cache_enabled : bool = false)
|
|||||||
|
|
||||||
func poll() -> void:
|
func poll() -> void:
|
||||||
jtvnw_client.poll()
|
jtvnw_client.poll()
|
||||||
var conn_status = jtvnw_client.get_status()
|
var conn_status : HTTPClient.Status = jtvnw_client.get_status()
|
||||||
if (conn_status == HTTPClient.STATUS_BODY):
|
if (conn_status == HTTPClient.STATUS_BODY):
|
||||||
jtvnw_response += jtvnw_client.read_response_body_chunk()
|
jtvnw_response += jtvnw_client.read_response_body_chunk()
|
||||||
elif (!jtvnw_response.is_empty()):
|
elif (!jtvnw_response.is_empty()):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user