Closed CahidArda closed 4 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
ratelimit-with-vercel-kv | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jul 2, 2024 1:52pm |
Also, we can add some comments related to reset
being a timestamp in the code, which would make it easier to reason
added packageManager to kv-with-vercel example package.json to resolve this issue
With this change, we update the getRemaining method like:
We essentially update the returned object from a number to a dictionary with remaining and reset time information.
Number of commands executed doesn't change.
Addresses #111