Skip to content

Commit

Permalink
feat: use usd
Browse files Browse the repository at this point in the history
  • Loading branch information
aalemayhu committed Jun 30, 2024
1 parent c09c6d2 commit 67b5eed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib/misc/getLimitMessage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const getLimitMessage = () =>
>
Subscribe
</a>{' '}
for only 2 EUR per month to remove all the limits.
for only $2 per month to remove all the limits.
</div>
</li>
<li>
Expand Down
2 changes: 1 addition & 1 deletion src/lib/misc/isLimitError.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { isLimitError } from './isLimitError';

const MOCK_MSG = "<div class=\"content\"><h3 class=\"title is-3\">Your request has hit the limit</h3><ul><li>Split your request into multiple smaller ones (i.e.) make your upload size smaller.</li><li><div class=\"is-flex is-align-items-center\"><a class=\"button is-success is-medium mr-2\" href=\"https://buy.stripe.com/eVadTGcCI6Ny73qfZ0\">Subscribe</a> for only 2 EUR per month to remove all the limits.</div></li><li>Or <a href=\"https://alemayhu.com/patreon\">Become a patron</a> to support me.</li></ul><p>If you already have an account, please <a href=\"/login?redirect=/upload\">login</a> and try again. If you are still experiencing issues, please contact <a href=\"mailto:support@2anki.net\">support@2anki.net</a>.</p></div>";
const MOCK_MSG = "<div class=\"content\"><h3 class=\"title is-3\">Your request has hit the limit</h3><ul><li>Split your request into multiple smaller ones (i.e.) make your upload size smaller.</li><li><div class=\"is-flex is-align-items-center\"><a class=\"button is-success is-medium mr-2\" href=\"https://buy.stripe.com/eVadTGcCI6Ny73qfZ0\">Subscribe</a> for only $2 per month to remove all the limits.</div></li><li>Or <a href=\"https://alemayhu.com/patreon\">Become a patron</a> to support me.</li></ul><p>If you already have an account, please <a href=\"/login?redirect=/upload\">login</a> and try again. If you are still experiencing issues, please contact <a href=\"mailto:support@2anki.net\">support@2anki.net</a>.</p></div>";

describe('isLimitError', () => {
it('returns true ', () => {
Expand Down

0 comments on commit 67b5eed

Please sign in to comment.