From 247ccfea646301c4a879f5dfe6c03f06cc482175 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Thu, 29 Dec 2022 20:21:08 +0000 Subject: shop --- shop.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shop.lua b/shop.lua index d8b21a4..2d2973e 100644 --- a/shop.lua +++ b/shop.lua @@ -4,7 +4,7 @@ assert(sres.ok,"not ok") ws = assert(http.websocket(sres.url)) while true do - c=textutils.unserializeJSON(ws.receive()) + c=textutils.unserializeJSON(assert((ws.receive()))) print(c.type) end -- cgit v1.2.3