heroiclabs / nakama-godot

Godot client for Nakama server written in GDScript.
Apache License 2.0
608 stars 72 forks source link

Fix byte array null error in GodotHttpAdapter #162

Closed Atlinx closed 1 year ago

Atlinx commented 1 year ago

Changed GodotHttpAdapter.SendAsync to send an empty body string if the byte array is null. Originally it would throw an error because System.Text.Encoding cannot encode a null byte array.

Fixes #161

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.