mirror of
https://github.com/idanoo/go-mastodon-matrix-webhooks.git
synced 2024-11-22 08:25:17 +00:00
Tidy formatting
This commit is contained in:
parent
57c8293e87
commit
486611b80a
10
main.go
10
main.go
@ -74,7 +74,11 @@ func handler(w http.ResponseWriter, r *http.Request) {
|
||||
country := ipLookup(i.Object.IP)
|
||||
err = sendWebhook(
|
||||
fmt.Sprintf(
|
||||
"New Signup%s: %s (%s). %s. %s",
|
||||
"[New Signup](%s) %s: %s (%s). %s",
|
||||
fmt.Sprintf(
|
||||
"https://mastodon.nz/admin/accounts/%s",
|
||||
i.Object.ID,
|
||||
),
|
||||
country,
|
||||
i.Object.Username,
|
||||
i.Object.Email,
|
||||
@ -82,10 +86,6 @@ func handler(w http.ResponseWriter, r *http.Request) {
|
||||
"Notes: %s",
|
||||
i.Object.Notes,
|
||||
),
|
||||
fmt.Sprintf(
|
||||
"https://mastodon.nz/admin/accounts/%s",
|
||||
i.Object.ID,
|
||||
),
|
||||
),
|
||||
)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user