summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2022-12-29 20:21:08 +0000
committerubq323 <ubq323@ubq323.website>2022-12-29 20:21:08 +0000
commit247ccfea646301c4a879f5dfe6c03f06cc482175 (patch)
treedc7d1b26c89dca4c664ebc83f2500fef911691c6
parenta18747cfee2b06d7175e4626a61155737432ad12 (diff)
shop
-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