summary change to description (#793)

This commit is contained in:
Wyatt Verchere
2023-12-11 17:53:30 -08:00
committed by GitHub
parent 235f4f10ef
commit 27ccd3dfa8
3 changed files with 103 additions and 103 deletions

View File

@@ -86,7 +86,7 @@ pub async fn send_discord_webhook(
let row =
sqlx::query!(
"
SELECT m.id id, m.name name, m.description description, m.color color,
SELECT m.id id, m.name name, m.summary summary, m.color color,
m.icon_url icon_url, m.slug slug,
u.username username, u.avatar_url avatar_url,
ARRAY_AGG(DISTINCT c.category) filter (where c.category is not null) categories,
@@ -245,7 +245,7 @@ pub async fn send_discord_webhook(
project.slug.unwrap_or_else(|| project_id.to_string())
),
title: project.name, // Do not change DiscordEmbed
description: project.description,
description: project.summary,
timestamp: Utc::now(),
color: project.color.unwrap_or(0x1bd96a) as u32,
fields,