mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-18 20:17:50 +00:00
bugfix
This commit is contained in:
parent
a053683fc1
commit
1e5dadf5ef
@ -385,7 +385,7 @@ class Message:
|
||||
def from_db(discussions_db, message_id):
|
||||
columns = Message.get_fields()
|
||||
rows = discussions_db.select(
|
||||
f"SELECT {','.join(columns)} WHERE id=?", (id,)
|
||||
f"SELECT {','.join(columns)} FROM message WHERE id=?", (message_id,)
|
||||
)
|
||||
data_dict={
|
||||
col:rows[i]
|
||||
|
Loading…
Reference in New Issue
Block a user