wasp/examples/realworld/ext/actions.js
2020-10-30 20:18:17 +01:00

6 lines
181 B
JavaScript

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