Fixed indent.
This commit is contained in:
parent
ad888346ef
commit
60a71d5dd1
|
@ -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),
|
||||||
|
|
Loading…
Reference in New Issue