mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Add updatedAt on main index store
This commit is contained in:
parent
a90facaa41
commit
39e2b73718
2 changed files with 11 additions and 0 deletions
|
@ -102,6 +102,8 @@ pub async fn create_index(mut ctx: Context<Data>) -> SResult<Response> {
|
|||
.put_created_at(&mut writer)
|
||||
.map_err(ResponseError::internal)?;
|
||||
created_index.main
|
||||
.put_updated_at(&mut writer)
|
||||
.map_err(ResponseError::internal)?;
|
||||
|
||||
let schema: Option<Schema> = body.schema.clone().map(|s| s.into());
|
||||
let mut response_update_id = None;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue