Replace hardcoded domains with primary domain setting

This commit is contained in:
Râu Cao committed 2023-06-16 14:38:04 +02:00
1 parent 34e4cec503
commit 589e46bc63
8 files changed
+9 -9

No files matched your search

+1 -1
View File
@@ -30,7 +30,7 @@ class WebhooksController < ApplicationController
def notify_xmpp(address, amt_sats, memo)
payload = {
type: "normal",
from: "kosmos.org", # TODO domain config
from: Setting.primary_domain,
to: address,
subject: "Sats received!",
body: "#{helpers.number_with_delimiter amt_sats} sats received in your Lightning wallet:\n> #{memo}"