This commit is contained in:
GH Action - Upstream Sync 2023-04-17 05:13:09 +00:00
commit 0d7813681e

View File

@ -113,6 +113,10 @@ export async function requestUsage() {
if (response.total_usage) { if (response.total_usage) {
response.total_usage = Math.round(response.total_usage) / 100; response.total_usage = Math.round(response.total_usage) / 100;
} }
if (total.hard_limit_usd) {
total.hard_limit_usd = Math.round(total.hard_limit_usd * 100) / 100;
}
return { return {
used: response.total_usage, used: response.total_usage,