Integrasi API: Event Qr Code
Fix: - app/(application)/(user)/event/[id]/confirmation.tsx - app/(application)/(user)/event/[id]/list-of-participants.tsx - app/(application)/admin/event/[id]/[status]/index.tsx - app/(application)/admin/event/[id]/list-of-participants.tsx - components/DateInput/DataTimeAndroid.tsx - components/DateInput/DateTimeIOS.tsx - service/api-admin/api-admin-event.ts ### No Issue
This commit is contained in:
@@ -48,3 +48,13 @@ export async function apiAdminEventUpdateStatus({
|
||||
}
|
||||
}
|
||||
|
||||
export async function apiAdminEventListOfParticipants({ id }: { id: string }) {
|
||||
try {
|
||||
const response = await apiConfig.get(
|
||||
`/mobile/admin/event/${id}/participants`
|
||||
);
|
||||
return response.data;
|
||||
} catch (error) {
|
||||
throw error;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user