Skip to content

Commit

Permalink
👷 Improve getUsage accuracy in check cron job
Browse files Browse the repository at this point in the history
  • Loading branch information
baptisteArno committed Oct 17, 2023
1 parent 6b0c263 commit 6d377b2
Show file tree
Hide file tree
Showing 5 changed files with 210 additions and 183 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/check-and-report-chats-usage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ jobs:
SMTP_PORT: '${{ secrets.SMTP_PORT }}'
NEXT_PUBLIC_SMTP_FROM: '${{ secrets.NEXT_PUBLIC_SMTP_FROM }}'
STRIPE_SECRET_KEY: '${{ secrets.STRIPE_SECRET_KEY }}'
STRIPE_STARTER_PRICE_ID: '${{ secrets.STRIPE_STARTER_PRICE_ID }}'
STRIPE_STARTER_CHATS_PRICE_ID: '${{ secrets.STRIPE_STARTER_CHATS_PRICE_ID }}'
STRIPE_PRO_PRICE_ID: '${{ secrets.STRIPE_PRO_PRICE_ID }}'
STRIPE_PRO_CHATS_PRICE_ID: '${{ secrets.STRIPE_PRO_CHATS_PRICE_ID }}'
steps:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v2.2.2
Expand Down
37 changes: 0 additions & 37 deletions packages/lib/api/getUsage.ts

This file was deleted.

Loading

1 comment on commit 6d377b2

@vercel
Copy link

@vercel vercel bot commented on 6d377b2 Oct 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.