mirror of
https://github.com/kovetskiy/mark.git
synced 2026-05-03 22:12:35 +00:00
The defer was placed after io.ReadAll, so if ReadAll returned an error the body would not be closed. Move the defer before the read. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
17 KiB
17 KiB