Archived
halfway commit to allow collaboration
This commit is contained in:
1 parent
b79d3ac2cf
commit
af8371ed84
34 files changed
+4418
-1223
No files matched your search
@@ -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