From eab02cd2c242323bb135b4bb0ed490bce4f08caf Mon Sep 17 00:00:00 2001 From: sticks Date: Mon, 25 Nov 2024 18:57:06 -0600 Subject: [PATCH] wrap in Some() oops --- src/handlers/db.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/handlers/db.rs b/src/handlers/db.rs index 484bc7d..82d63ec 100644 --- a/src/handlers/db.rs +++ b/src/handlers/db.rs @@ -151,7 +151,7 @@ impl DatabaseController { username: quote.username, quote: quote.quote, added_by: quote.added_by, - added_at: quote.added_at, + added_at: Some(quote.added_at), })), None => Ok(None), } @@ -170,7 +170,7 @@ impl DatabaseController { username: q.username, quote: q.quote, added_by: q.added_by, - added_at: q.added_at, + added_at: Some(q.added_at), }); }