fix column name of created field in chats table

This commit is contained in:
DSeeLP 2025-03-16 10:58:24 +01:00
parent 6e9f12c97b
commit cce43c155e

View File

@ -48,7 +48,7 @@ impl From<Row> for Chat {
fn from(value: Row) -> Self { fn from(value: Row) -> Self {
Self { Self {
id: value.get("id"), id: value.get("id"),
created: value.get("created_at"), created: value.get("created"),
} }
} }
} }
@ -56,7 +56,7 @@ impl From<Row> for ChatInfo {
fn from(value: Row) -> Self { fn from(value: Row) -> Self {
Self { Self {
id: value.get("id"), id: value.get("id"),
created: value.get("created_at"), created: value.get("created"),
read_until: value.get("read_until"), read_until: value.get("read_until"),
} }
} }