added missing var type

This commit is contained in:
Max Kross 2023-12-21 13:49:29 +01:00
parent 5b37dad373
commit 3ef9a2053c

View File

@ -23,7 +23,7 @@ func _init(twitch_api : TwitchAPIConnection, disk_cache_enabled : bool = false)
func poll() -> void:
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):
jtvnw_response += jtvnw_client.read_response_body_chunk()
elif (!jtvnw_response.is_empty()):