Created some user endpoints ; Pretty code

This commit is contained in:
Kevin Puig
2025-09-27 11:13:37 -04:00
parent 122cfdd8c3
commit b22734831e
12 changed files with 240 additions and 240 deletions

View File

@@ -1,6 +0,0 @@
import { getUserInformation } from "../services/actions";
export async function fetchUserData(id: string) {
return await getUserInformation(id);
}

View File

@@ -0,0 +1,9 @@
import { getAllUsersFrom, getUserInformation } from "../services/userService";
export async function fetchUserData(id: string) {
return await getUserInformation(id);
}
export async function fetchAllUsers(instanceId: string) {
return await getAllUsersFrom(instanceId);
}