Skip to content

Commit 2826f69

Browse files
pyrhoNTBBloodbath
authored andcommitted
fix: missing argument to end_request
fixes #94
1 parent 71de0be commit 2826f69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ M.get_current_request = function()
181181
if start_line == 0 then
182182
error("No request found")
183183
end
184-
local end_line = end_request()
184+
local end_line = end_request(bufnr)
185185

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

0 commit comments

Comments
 (0)