Skip to content

Commit 1fc454f

Browse files
committed
chore: update alert severities
1 parent f95a91e commit 1fc454f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/algora_web/controllers/webhooks/github_controller.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ defmodule AlgoraWeb.Webhooks.GithubController do
229229
) do
230230
Algora.Admin.alert(
231231
"Autopay successful (#{autopayable_bounty.owner.name} - #{autopayable_bounty.amount}).",
232-
:info
232+
:debug
233233
)
234234

235235
:ok
@@ -460,7 +460,7 @@ defmodule AlgoraWeb.Webhooks.GithubController do
460460
Invoice.pay(invoice, %{payment_method: customer.default_payment_method.provider_id, off_session: true}) do
461461
Algora.Admin.alert(
462462
"Autopay successful (#{payload["repository"]["full_name"]}##{ticket_ref.number} - #{amount}).",
463-
:info
463+
:debug
464464
)
465465

466466
{:ok, tip}

lib/algora_web/controllers/webhooks/stripe_controller.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ defmodule AlgoraWeb.Webhooks.StripeController do
205205
end
206206

207207
defp alert(%Stripe.Event{} = event, :ok) do
208-
Algora.Admin.alert("Stripe event: #{event.type} #{event.id} https://dashboard.stripe.com/logs?success=true", :info)
208+
Algora.Admin.alert("Stripe event: #{event.type} #{event.id} https://dashboard.stripe.com/logs?success=true", :debug)
209209
end
210210

211211
defp alert(%Stripe.Event{} = event, {:error, error}) do

0 commit comments

Comments
 (0)