track package version for all events (#79)
This commit is contained in:
committed by
GitHub
parent
8037946500
commit
adf745fa54
@@ -62,6 +62,7 @@ impl AnalyticsService {
|
|||||||
"timestamp".to_string(),
|
"timestamp".to_string(),
|
||||||
json!(chrono::Utc::now().to_rfc3339()),
|
json!(chrono::Utc::now().to_rfc3339()),
|
||||||
);
|
);
|
||||||
|
props.insert("version".to_string(), json!(env!("CARGO_PKG_VERSION")));
|
||||||
}
|
}
|
||||||
|
|
||||||
let payload = json!({
|
let payload = json!({
|
||||||
|
|||||||
Reference in New Issue
Block a user