Skip to content

Commit

Permalink
Add compile target to adopter registration stats
Browse files Browse the repository at this point in the history
Since we already show it on the "about" page, including it in this
data seems like a good idea.
  • Loading branch information
LukasKalbertodt committed Sep 20, 2023
1 parent 7fbc13d commit ee4a9e7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/src/sync/stats.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ struct VersionStats {
build_time_utc: &'static str,
git_commit_hash: &'static str,
git_was_dirty: bool,
target: &'static str,
}

#[derive(Debug, Serialize)]
Expand Down Expand Up @@ -103,6 +104,7 @@ impl Stats {
build_time_utc: crate::version::build_time_utc(),
git_commit_hash: crate::version::git_commit_hash(),
git_was_dirty: crate::version::git_was_dirty(),
target: crate::version::target(),
},
config: ConfigStats {
download_button_shown: config.general.show_download_button,
Expand Down

0 comments on commit ee4a9e7

Please sign in to comment.