Skip to content

Commit

Permalink
fix: spelling, change 'on-chain' to 'onchain' (#691)
Browse files Browse the repository at this point in the history
  • Loading branch information
nutrina authored Oct 1, 2024
1 parent 0dfd890 commit 6a92cfd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ def generate_on_chain_expired_notifications(address, expired_chains: List[ChainS
notification_id=notification_id,
type="on_chain_expiry",
is_active=True,
content=f"Your on-chain Passport on {chain.name} has expired. Update now to maintain your active status.",
content=f"Your onchain Passport on {chain.name} has expired. Update now to maintain your active status.",
eth_address=address,
)
6 changes: 3 additions & 3 deletions api/passport_admin/tests/test_notifications.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def existing_notification_expired_chain(sample_address, community):
type="on_chain_expiry",
link=None,
link_text=None,
content="Your on-chain Passport on Chain 1 has expired. Update now to maintain your active status.",
content="Your onchain Passport on Chain 1 has expired. Update now to maintain your active status.",
is_active=True,
eth_address=sample_address,
created_at=timezone.now() - timedelta(days=3),
Expand Down Expand Up @@ -465,7 +465,7 @@ def test_expired_chain(self, sample_token, sample_address, current_date, communi
"type": "on_chain_expiry",
"link": None,
"link_text": None,
"content": "Your on-chain Passport on Chain 1 has expired. Update now to maintain your active status.",
"content": "Your onchain Passport on Chain 1 has expired. Update now to maintain your active status.",
"created_at": current_date.isoformat(),
"is_read": False,
},
Expand All @@ -482,7 +482,7 @@ def test_expired_chain(self, sample_token, sample_address, current_date, communi
"type": "on_chain_expiry",
"link": None,
"link_text": None,
"content": "Your on-chain Passport on Chain 2 has expired. Update now to maintain your active status.",
"content": "Your onchain Passport on Chain 2 has expired. Update now to maintain your active status.",
"created_at": current_date.isoformat(),
"is_read": False,
},
Expand Down

0 comments on commit 6a92cfd

Please sign in to comment.