34324
This commit is contained in:
@@ -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 }),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user