Skip to content

Commit

Permalink
Refactor webhook.lua to improve logging and API functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
TheophileDiot committed Feb 20, 2024
1 parent 8e276a9 commit 2712bb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webhook/webhook.lua
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ function webhook:api()
if not httpc then
self.logger:log(ERR, "can't instantiate http object : " .. err)
end
local res, err_http = httpc:request_uri(self.variables["WEBHOOK_WEBHOOK_URL"], {
local res, err_http = httpc:request_uri(self.variables["WEBHOOK_URL"], {
method = "POST",
headers = {
["Content-Type"] = "application/json",
Expand Down

0 comments on commit 2712bb6

Please sign in to comment.