diff options
-rw-r--r-- | shop.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,8 +4,8 @@ assert(sres.ok,"not ok") ws = assert(http.websocket(sres.url)) while true do - c=ws.receive() - print(c) + c=textutils.unserializeJSON(ws.receive()) + print(c.type) end |