Fix Apple Reject:
Add: - app/(application)/(user)/forum/terms.tsx Fix: - app/(application)/(user)/_layout.tsx - app/(application)/(user)/home.tsx - screens/Home/tabsList.ts - service/api-client/api-user.ts ### No Issue
This commit is contained in:
@@ -36,3 +36,13 @@ export async function apiForumBlockUser({
|
||||
throw error;
|
||||
}
|
||||
}
|
||||
|
||||
export async function apiAcceptForumTerms({category, userId}:{category:"Forum" | "Event", userId: string}) {
|
||||
try {
|
||||
const response = await apiConfig.post(`/mobile/user/${userId}/terms-of-app?category=${category}`);
|
||||
return response.data;
|
||||
} catch (error) {
|
||||
throw error;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user