Fix files-rm.

This commit is contained in:
Pierre Neidhardt 2022-09-27 17:06:41 +02:00
parent a1c5281a38
commit 63ab330868

View File

@ -522,7 +522,7 @@
(defun files-rm (path &key (recursive nil) (force nil))
"Remove a given file.
/ipns/docs.ipfs.io/reference/api/http/#api-v0-files-rm"
(ipfs-call "files/read" `(("arg" ,source) ("recursive" ,recursive)
(ipfs-call "files/rm" `(("arg" ,path) ("recursive" ,recursive)
("force" ,force))))
;; STRING → ALIST || (NIL STRING)