From 1545525b492c3b65dc49c0709a1ade515d4015a0 Mon Sep 17 00:00:00 2001 From: kavos113 Date: Thu, 5 Sep 2024 14:50:48 +0900 Subject: [PATCH] fixed --- src/scraper/newMessages.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scraper/newMessages.go b/src/scraper/newMessages.go index 4ce108a..ace14ff 100644 --- a/src/scraper/newMessages.go +++ b/src/scraper/newMessages.go @@ -219,7 +219,7 @@ func (s *Scraper) removeMentionSingle(wikiId int) { for _, m := range messages { text := ProcessMention(m.MessageContent) - _, err = s.db.Exec("UPDATE messages SET message_content = ? WHERE id = ?", text, m.ID) + _, err = s.db.Exec("UPDATE messages SET content = ? WHERE id = ?", text, m.ID) if err != nil { log.Println("failed to update message") log.Println(err)