halfway commit to allow collaboration
This commit is contained in:
@@ -2,6 +2,7 @@ import {
|
||||
getAllUsersFrom,
|
||||
getUserInformation,
|
||||
createUser,
|
||||
getUserId,
|
||||
} from "../services/userService";
|
||||
import { CreateUserInput } from "../validators/userValidator";
|
||||
|
||||
@@ -16,3 +17,7 @@ export async function fetchAllUsers(instanceId: string) {
|
||||
export async function createNewUser(data: CreateUserInput) {
|
||||
return await createUser(data);
|
||||
}
|
||||
|
||||
export async function fetchUserId(username: string) {
|
||||
return await getUserId(username);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user