diff --git a/tools/bin/send-patch b/tools/bin/send-patch index 3e18bf4..0d4e259 100755 --- a/tools/bin/send-patch +++ b/tools/bin/send-patch @@ -117,7 +117,7 @@ send_patch() { --arg name "$(basename "$PATCHFILE")" \ --arg mxc "$MXCID" \ --arg msgtype "m.file" \ - --arg size "$(wc -c "$PATCHFILE" | cut -d" " -f1)" \ + --argjson size "$(wc -c "$PATCHFILE" | cut -d" " -f1)" \ '{ "body": $name, "filename": $name,