Remove hardcoded user address from hook

This commit is contained in:
Râu Cao 2023-01-12 14:32:53 +08:00
parent 4c0d8283e3
commit aa3c2b4fa2
Signed by: raucao
GPG Key ID: 15E65F399D084BA9

View File

@ -25,8 +25,7 @@ class WebhooksController < ApplicationController
payload = {
type: "normal",
from: "kosmos.org", # TODO domain config
# to: address,
to: "raucao@kosmos.org",
to: address,
subject: "Sats received!",
body: "#{amt_sats} sats received in your wallet. Memo: \"#{memo}\""
}