summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shop.lua2
1 files changed, 1 insertions, 1 deletions
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