mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-21 04:01:10 +10:00
partial: user routes
This commit is contained in:
@ -18,6 +18,9 @@ const CreateUserValidator = SharedRegisterValidator.and({
|
||||
"displayName?": "string | undefined",
|
||||
}).configure(throwingArktype);
|
||||
|
||||
/**
|
||||
* Create user from invitation
|
||||
*/
|
||||
export default defineEventHandler<{
|
||||
body: typeof CreateUserValidator.infer;
|
||||
}>(async (h3) => {
|
||||
|
||||
Reference in New Issue
Block a user