Fix forum detail
Forum (User) - app/(application)/(user)/forum/[id]/index.tsx - screens/Forum/ViewForumku2.tsx - service/api-client/api-forum.ts Forum – New / Refactor - screens/Forum/DetailForum.tsx - screens/Forum/DetailForum2.tsx Documentation - docs/ Removed - hipmi-note.md ### No Issue'
This commit is contained in:
@@ -102,9 +102,9 @@ export async function apiForumCreateComment({
|
||||
}
|
||||
}
|
||||
|
||||
export async function apiForumGetComment({ id }: { id: string }) {
|
||||
export async function apiForumGetComment({ id, page = "1" }: { id: string, page?: string }) {
|
||||
try {
|
||||
const response = await apiConfig.get(`/mobile/forum/${id}/comment`);
|
||||
const response = await apiConfig.get(`/mobile/forum/${id}/comment?page=${page}`);
|
||||
return response.data;
|
||||
} catch (error) {
|
||||
throw error;
|
||||
|
||||
Reference in New Issue
Block a user