Skip to content

Commit

Permalink
fmt from main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
NexVeridian committed Jan 28, 2025
1 parent 8a0c996 commit 0a09a5c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -732,8 +732,7 @@ pub async fn dump_tables(
row.try_get::<DateTime<Utc>>("", &col_name)
.map(|v| serde_json::Value::String(v.to_rfc3339()))
})
.or_else(|_| {
row.try_get::<serde_json::Value>("", &col_name)})
.or_else(|_| row.try_get::<serde_json::Value>("", &col_name))
.or_else(|_| {
row.try_get::<bool>("", &col_name)
.map(serde_json::Value::Bool)
Expand Down

0 comments on commit 0a09a5c

Please sign in to comment.