Skip to content

Commit

Permalink
fix: return non json body
Browse files Browse the repository at this point in the history
  • Loading branch information
purefun committed Jan 26, 2024
1 parent 3035cab commit 543b64c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/rest-nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ local function splice_body(headers, payload)
return vim.fn.json_encode(json_body)
end
end
return body
end

-- run will retrieve the required request information from the current buffer
Expand Down

0 comments on commit 543b64c

Please sign in to comment.