Skip to content

Commit

Permalink
fix: missing argument to end_request
Browse files Browse the repository at this point in the history
fixes #94
  • Loading branch information
pyrho authored and NTBBloodbath committed Jan 26, 2022
1 parent 71de0be commit 2826f69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/rest-nvim/request/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ M.get_current_request = function()
if start_line == 0 then
error("No request found")
end
local end_line = end_request()
local end_line = end_request(bufnr)

local parsed_url = parse_url(vim.fn.getline(start_line))

Expand Down

0 comments on commit 2826f69

Please sign in to comment.