Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
ddboline committed Nov 24, 2024
1 parent 641d38b commit 2b30e67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions movie_collection_http/src/logged_user.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ pub async fn fill_from_db(pool: &PgPool) -> Result<(), Error> {
email: "user@test".into(),
session: Uuid::new_v4(),
secret_key: StackString::default(),
created_at: Some(OffsetDateTime::now_utc())
created_at: OffsetDateTime::now_utc()
}
});
return Ok(());
Expand All @@ -189,7 +189,7 @@ pub async fn fill_from_db(pool: &PgPool) -> Result<(), Error> {
email: u.email,
session: Uuid::new_v4(),
secret_key: StackString::default(),
created_at: Some(u.created_at),
created_at: u.created_at,
},
)
})
Expand Down

0 comments on commit 2b30e67

Please sign in to comment.