This commit is contained in:
alorig
2025-12-05 14:17:07 +05:00
parent bbc70751db
commit 3cd2cdafa9
3 changed files with 169 additions and 2 deletions

View File

@@ -332,7 +332,7 @@ export async function getCreditCosts(): Promise<{
results: CreditCostConfig[];
count: number;
}> {
return fetchAPI('/v1/admin/credit-costs/');
return fetchAPI('/v1/admin/billing/credit-costs/');
}
export async function updateCreditCosts(
@@ -344,7 +344,7 @@ export async function updateCreditCosts(
message: string;
updated_count: number;
}> {
return fetchAPI('/v1/admin/credit-costs/', {
return fetchAPI('/v1/admin/billing/credit-costs/', {
method: 'POST',
body: JSON.stringify({ costs }),
});