This commit is contained in:
2024-11-25 20:21:11 -06:00
parent 548d4fd21c
commit e9d54a83f5
4 changed files with 9 additions and 6 deletions

View File

@ -122,7 +122,7 @@ impl DatabaseController {
username: q.username,
quote: q.quote,
added_by: q.added_by,
added_at: q.added_at.unwrap(),
added_at: q.added_at,
})),
Err(sqlx::Error::RowNotFound) => Ok(None),
Err(e) => Err(e),
@ -142,7 +142,7 @@ impl DatabaseController {
username: q.username,
quote: q.quote,
added_by: q.added_by,
added_at: q.added_at.unwrap(),
added_at: q.added_at,
});
}