Final release fixes (#811)
This commit is contained in:
parent
3bdd551d40
commit
f199ecf8e9
@ -35,6 +35,7 @@ pub struct LegacyNotificationAction {
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize)]
|
||||
#[serde(tag = "type", rename_all = "snake_case")]
|
||||
pub enum LegacyNotificationBody {
|
||||
ProjectUpdate {
|
||||
project_id: ProjectId,
|
||||
|
||||
@ -497,7 +497,7 @@ fn condense_countries(countries: HashMap<String, u64>) -> HashMap<String, u64> {
|
||||
// Every country under '15' (view or downloads) should be condensed into 'XX'
|
||||
let mut hm = HashMap::new();
|
||||
for (mut country, count) in countries {
|
||||
if count < 15 {
|
||||
if count < 50 {
|
||||
country = "XX".to_string();
|
||||
}
|
||||
if !hm.contains_key(&country) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user