Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
kavos113 committed Sep 5, 2024
1 parent ffb2505 commit 1545525
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scraper/newMessages.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1545525

Please sign in to comment.