We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c12c0b0 commit 9598c89Copy full SHA for 9598c89
lua/rest-nvim/client/curl.lua
@@ -228,7 +228,7 @@ function client.request(request)
228
-- Request body
229
--
230
-- Create a copy of the request body table to remove the unneeded `__TYPE` metadata field later
231
- local body = request.body
+ local body = vim.deepcopy(request.body)
232
if request.body.__TYPE == "json" then
233
body.__TYPE = nil
234
0 commit comments