change user membership without payment

This commit is contained in:
2025-05-23 10:35:25 +03:00
parent 2b902ef0c9
commit efccb591ff
6 changed files with 95 additions and 32 deletions

View File

@@ -15,7 +15,7 @@ const AdminPayments = () => {
useEffect(() => {
const fetchPlans = async () => {
try {
const response = await fetch('/api/account/get-plans')
const response = await fetch('/api/account/membership')
if (!response.ok) {
throw new Error('Failed to fetch plans')
}