Add updatedAt on main index store

This commit is contained in:
Quentin de Quelen 2019-11-19 16:18:01 +01:00
parent a90facaa41
commit 39e2b73718
2 changed files with 11 additions and 0 deletions

View file

@ -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;