summaryrefslogtreecommitdiffstats
path: root/adenosine-pds/src/db.rs
diff options
context:
space:
mode:
Diffstat (limited to 'adenosine-pds/src/db.rs')
-rw-r--r--adenosine-pds/src/db.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/adenosine-pds/src/db.rs b/adenosine-pds/src/db.rs
index b94689a..b694bb5 100644
--- a/adenosine-pds/src/db.rs
+++ b/adenosine-pds/src/db.rs
@@ -207,7 +207,7 @@ impl AtpDatabase {
reply_to_parent_uri,
reply_to_root_uri,
serde_json::to_string(&post)?,
- post.createdAt.unwrap_or_else(|| created_at_now())
+ post.createdAt.unwrap_or_else(created_at_now)
))?;
} else {
let mut stmt = self