mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 04:17:10 +02:00
move the version to context.app
This commit is contained in:
parent
5395041dcb
commit
cfcd3ae048
1 changed files with 5 additions and 1 deletions
|
@ -60,7 +60,6 @@ mod segment {
|
|||
})
|
||||
});
|
||||
let infos = json!({
|
||||
"version": env!("CARGO_PKG_VERSION").to_string(),
|
||||
"env": opt.env.clone(),
|
||||
"has_snapshot": opt.schedule_snapshot,
|
||||
});
|
||||
|
@ -137,6 +136,11 @@ mod segment {
|
|||
.lock()
|
||||
.await
|
||||
.push(Identify {
|
||||
context: Some(json!({
|
||||
"app": {
|
||||
"version": env!("CARGO_PKG_VERSION").to_string(),
|
||||
},
|
||||
})),
|
||||
user,
|
||||
traits,
|
||||
..Default::default()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue