Skip to content

Commit 4b8608e

Browse files
joshuali925NTBBloodbath
authored andcommitted
fix: use config.get to read skip_ssl_verification setting
1 parent 3ab950f commit 4b8608e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/rest-nvim/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ rest.run = function(verbose)
2222
method = result.method:lower(),
2323
url = result.url,
2424
headers = result.headers,
25-
raw = config.skip_ssl_verification and { "-k" } or nil,
25+
raw = config.get("skip_ssl_verification") and { "-k" } or nil,
2626
body = result.body,
2727
dry_run = verbose or false,
2828
bufnr = result.bufnr,

0 commit comments

Comments
 (0)