1
0
mirror of https://github.com/JustKato/FreePad.git synced 2026-02-23 07:40:46 +02:00

* Fixed possible bug

This commit is contained in:
2022-06-06 22:50:20 +03:00
parent 1d3383c8c6
commit bf144c6ecb

View File

@@ -40,7 +40,7 @@ class PadSocket {
}
// Check if the message is a string
if ( typeof message == 'string' ) {
if ( typeof message !== 'object' ) {
// Convert the message into a map[string]interface{}
message = {
"message": message,