Fix a bad jq parameter.

This commit is contained in:
Jordan Bancino 2023-02-16 02:01:25 +00:00
parent dc566a85b7
commit 1f1cbc0461

View file

@ -117,7 +117,7 @@ send_patch() {
--arg name "$(basename "$PATCHFILE")" \
--arg mxc "$MXCID" \
--arg msgtype "m.file" \
--argjson size "$(wc -c "$PATCHFILE" | cut -d" " -f1)" \
--arg size "$(wc -c "$PATCHFILE" | cut -d" " -f1)" \
'{
"body": $name,
"filename": $name,