aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChloe Kudryavtsev <code@toast.bunkerlabs.net>2023-03-26 18:23:30 -0400
committerChloe Kudryavtsev <code@toast.bunkerlabs.net>2023-03-26 18:23:30 -0400
commit4df772d4a52c23668cd2508c9bca5f891421a6d9 (patch)
treec5cb35262cdaef9257d49ff7357c2ccd99aa9f23
parentjanet: add docs to jurl, improve qol (diff)
janet: fix mime data filename missing handle ref
-rw-r--r--jurl/mime.janet2
1 files changed, 1 insertions, 1 deletions
diff --git a/jurl/mime.janet b/jurl/mime.janet
index 1e07f35..7420946 100644
--- a/jurl/mime.janet
+++ b/jurl/mime.janet
@@ -20,7 +20,7 @@
[:bytes b] (:data handle b)
# to differentiate against bytes, pass tuple starting with :file
- [:file fname] (:filedata fname)
+ [:file fname] (:filedata handle fname)
# to differentiate against bytes, pass tuple starting with :mime
[:mime amime] (:subparts handle amime)