Skip to content

Commit

Permalink
fix: use config.get to read skip_ssl_verification setting
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuali925 authored and NTBBloodbath committed Dec 15, 2021
1 parent 3ab950f commit 4b8608e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/rest-nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ rest.run = function(verbose)
method = result.method:lower(),
url = result.url,
headers = result.headers,
raw = config.skip_ssl_verification and { "-k" } or nil,
raw = config.get("skip_ssl_verification") and { "-k" } or nil,
body = result.body,
dry_run = verbose or false,
bufnr = result.bufnr,
Expand Down

0 comments on commit 4b8608e

Please sign in to comment.