Skip to content

Commit

Permalink
fix: run request command, telescope selection wrong import
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigoscc committed Dec 1, 2024
1 parent ba7f18a commit f76e68c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lua/http-nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ local subcommand_tbl = {
local run_selected_request = function()
actions.close(prompt_bufnr)

local selection = actions.state.get_selected_entry()
local selection =
require("telescope.actions.state").get_selected_entry()

http:run(selection.request)
end
Expand Down

0 comments on commit f76e68c

Please sign in to comment.