Skip to content

Commit 9516ce1

Browse files
committed
fix: standardize template_type in app config
- Use snake_case for template types
1 parent cfede64 commit 9516ce1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/src/fixtures/app_config.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
},
1919
"engagement_rules": [
2020
{
21-
"template_type": "rate-app",
21+
"template_type": "rate_app",
2222
"user_roles": ["standard_user"],
2323
"min_days_since_account_creation": 7,
2424
"max_times_to_show": 1,
@@ -29,7 +29,7 @@
2929
}
3030
},
3131
{
32-
"template_type": "link-account",
32+
"template_type": "link_account",
3333
"user_roles": ["guest_user"],
3434
"min_days_since_account_creation": 3,
3535
"max_times_to_show": 3,
@@ -40,7 +40,7 @@
4040
}
4141
},
4242
{
43-
"template_type": "upgrade-to-premium",
43+
"template_type": "upgrade_to_premium",
4444
"user_roles": ["standard_user"],
4545
"min_days_since_account_creation": 14,
4646
"max_times_to_show": 2,
@@ -53,15 +53,15 @@
5353
],
5454
"suggestion_rules": [
5555
{
56-
"template_type": "categories-to-follow",
56+
"template_type": "categories_to_follow",
5757
"user_roles": ["guest_user", "standard_user"],
5858
"placement": {
5959
"after_primary_item_index": 7,
6060
"min_primary_items_required": 10
6161
}
6262
},
6363
{
64-
"template_type": "sources-to-follow",
64+
"template_type": "sources_to_follow",
6565
"user_roles": ["standard_user"],
6666
"placement": {
6767
"relative_position": "end_quarter",

0 commit comments

Comments
 (0)