Fix linting issues.

This commit is contained in:
funilrys 2022-11-12 20:57:27 +01:00
parent 06e7db7a1f
commit 079357ee1f
No known key found for this signature in database
GPG Key ID: 0D8BFEF5515C00C6

View File

@ -182,8 +182,8 @@ impl V4IndexReader {
let metadata = IndexMetadata {
uid: name,
primary_key: meta.primary_key,
created_at: created_at.unwrap_or(OffsetDateTime::now_utc()),
updated_at: updated_at.unwrap_or(OffsetDateTime::now_utc()),
created_at: created_at.unwrap_or_else(OffsetDateTime::now_utc),
updated_at: updated_at.unwrap_or_else(OffsetDateTime::now_utc),
};
let ret = V4IndexReader {