Skip to content
This repository was archived by the owner on Sep 30, 2025. It is now read-only.

Commit 83ccc3f

Browse files
committed
Fix typo
1 parent 476ad53 commit 83ccc3f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ async def post_site(site: IllegalSite):
7070
sites_collection.insert_one(site_dict)
7171

7272
requests.post(os.getenv("VERDICTS_DISCORD_WEBHOOK_URL"), json={
73-
"content": f"<:smc_flag:1327674316233379840> **A new website has been flagged**\n\nDomain: *{site_dict.get('domain')}*\Reason: *{site_dict.get('reason')}*"
73+
"content": f"<:smc_flag:1327674316233379840> **New website has been flagged**\n\nDomain: *{site_dict.get('domain')}*\nReason: *{site_dict.get('reason')}*"
7474
})
7575

7676

@@ -136,7 +136,7 @@ async def post_report(site: ReportedIllegalSite):
136136
reports_collection.insert_one(site_dict)
137137

138138
requests.post(os.getenv("REPORTS_DISCORD_WEBHOOK_URL"), json={
139-
"content": f"<:smc_bell:1327674323007307858> **A new website has been reported**\n\nDomain: *{site_dict.get('domain')}*\nReason: *{site_dict.get('reason')}*"
139+
"content": f"<:smc_bell:1327674323007307858> **New website has been reported**\n\nDomain: *{site_dict.get('domain')}*\nReason: *{site_dict.get('reason')}*"
140140
})
141141
else:
142142
raise HTTPException(409, "Report already exists")

0 commit comments

Comments
 (0)