fix: update API endpoint for fetching plans in AdminUsersPage
This commit is contained in:
@@ -80,7 +80,7 @@ export function AdminUsersPage() {
|
|||||||
|
|
||||||
const fetchPlans = async () => {
|
const fetchPlans = async () => {
|
||||||
try {
|
try {
|
||||||
const response = await apiService.get('/api/admin/plans');
|
const response = await apiService.get('/api/referential/plans');
|
||||||
const data = await response.json();
|
const data = await response.json();
|
||||||
|
|
||||||
if (response.ok) {
|
if (response.ok) {
|
||||||
|
|||||||
Reference in New Issue
Block a user