Fix typo
This commit is contained in:
parent
50e2edc2b9
commit
087968c505
@ -121,7 +121,9 @@ func (p Profile) SaveDMTrove(trove DMTrove, should_download bool) {
|
|||||||
url.IsContentDownloaded = true
|
url.IsContentDownloaded = true
|
||||||
|
|
||||||
// Update it in the DB
|
// Update it in the DB
|
||||||
_, err = p.DB.NamedExec(`update chat_message_urls set is_content_downloaded = :is_content_downloaded where id = :id`, url)
|
_, err = p.DB.NamedExec(`
|
||||||
|
update chat_message_urls set is_content_downloaded = :is_content_downloaded where chat_message_id = :chat_message_id
|
||||||
|
`, url)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user