Skip to content

Commit 543b64c

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

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: lua/rest-nvim/init.lua

+1
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)