Fixed indent.

This commit is contained in:
Asaf Gartner 2022-01-31 08:51:34 +02:00
parent ad888346ef
commit 60a71d5dd1
1 changed files with 6 additions and 6 deletions

View File

@ -359,12 +359,12 @@ func SaveMessageContents(
if msg.OriginalHasFields("content") { if msg.OriginalHasFields("content") {
_, err := dbConn.Exec(ctx, _, err := dbConn.Exec(ctx,
` `
INSERT INTO handmade_discordmessagecontent (message_id, discord_id, last_content) INSERT INTO handmade_discordmessagecontent (message_id, discord_id, last_content)
VALUES ($1, $2, $3) VALUES ($1, $2, $3)
ON CONFLICT (message_id) DO UPDATE SET ON CONFLICT (message_id) DO UPDATE SET
discord_id = EXCLUDED.discord_id, discord_id = EXCLUDED.discord_id,
last_content = EXCLUDED.last_content last_content = EXCLUDED.last_content
`, `,
interned.Message.ID, interned.Message.ID,
interned.DiscordUser.ID, interned.DiscordUser.ID,
CleanUpMarkdown(ctx, msg.Content), CleanUpMarkdown(ctx, msg.Content),