wasp/examples/realworld/ext/actions.js

6 lines
181 B
JavaScript
Raw Normal View History

import { createNewUser } from '@wasp/core/auth.js'
export const signup = async ({ username, email, password }, context) => {
await createNewUser({ username, email, password })
}