tierrun/tier-vercel-openai

Tier returns limits.usage as null during in dev env

DarokCx opened this issue · 1 comments

Describe the bug
Tier returns limits.usage as null during in dev env when logged in

To Reproduce
followed all the steps provided.
created a vercel database
udated the db
run npm run dev

tier: GET https://api.tier.run/v1/limits?........
{ org: 'org:.......', usage: null }
⨯ node_modules\tier\dist\mjs\client.js (309:35) @ usage
⨯ TypeError: limits.usage is not iterable
at async GeneratePage (generate/page.tsx:26:27)
null

Expected behavior
no errors

Screenshots
If applicable, add screenshots to help explain your problem.
image

image

when i click on billing
image

Desktop (please complete the following information):

  • OS: windos 11
  • Browser chrome

Additional context
Add any other context about the problem here.

the bug disapeared this morning after a push. Nothig changed. maybe it was on server side