mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-26 20:15:07 +08:00
move the version to context.app
This commit is contained in:
parent
5395041dcb
commit
cfcd3ae048
@ -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…
Reference in New Issue
Block a user