mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Format code
This commit is contained in:
parent
878dd6912e
commit
530738cfe9
2 changed files with 6 additions and 2 deletions
|
@ -51,7 +51,7 @@ impl Main {
|
|||
pub fn created_at(self, reader: &heed::RoTxn) -> ZResult<Option<DateTime<Utc>>> {
|
||||
self.main.get::<Str, SerdeDatetime>(reader, CREATED_AT)
|
||||
}
|
||||
|
||||
|
||||
pub fn put_updated_at(self, writer: &mut heed::RwTxn) -> ZResult<()> {
|
||||
self.main
|
||||
.put::<Str, SerdeDatetime>(writer, UPDATED_AT, &Utc::now())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue