Files
concord/concord-server/src/controller/userController.ts

10 lines
276 B
TypeScript
Raw Normal View History

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);
}