This commit is contained in:
idanoo 2022-11-20 19:11:38 +13:00
parent bc0784dabf
commit efef4b1fa2
Signed by: idanoo
GPG Key ID: 387387CDBC02F132

View File

@ -67,7 +67,7 @@ func handler(w http.ResponseWriter, r *http.Request) {
if i.Event == "report.created" { if i.Event == "report.created" {
err = sendWebhook( err = sendWebhook(
fmt.Sprintf( fmt.Sprintf(
"[New Report](%s): *%s* has reported *%s*: %s", "[New Report](%s): **%s** has reported **%s**: %s",
fmt.Sprintf( fmt.Sprintf(
"https://mastodon.nz/admin/reports/%s", "https://mastodon.nz/admin/reports/%s",
i.Object.ID, i.Object.ID,
@ -85,7 +85,7 @@ func handler(w http.ResponseWriter, r *http.Request) {
country := ipLookup(i.Object.IP) country := ipLookup(i.Object.IP)
err = sendWebhook( err = sendWebhook(
fmt.Sprintf( fmt.Sprintf(
"[New Signup](%s) %s: *%s* (%s). %s", "[New Signup](%s) %s: **%s** (%s). %s",
fmt.Sprintf( fmt.Sprintf(
"https://mastodon.nz/admin/accounts/%s", "https://mastodon.nz/admin/accounts/%s",
i.Object.ID, i.Object.ID,