Skip to content

Commit 543b64c

Browse files
authored
fix: return non json body
1 parent 3035cab commit 543b64c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lua/rest-nvim/init.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ local function splice_body(headers, payload)
129129
return vim.fn.json_encode(json_body)
130130
end
131131
end
132+
return body
132133
end
133134

134135
-- run will retrieve the required request information from the current buffer

0 commit comments

Comments
 (0)