trig-deploy
This commit is contained in:
parent
a79bb2d099
commit
0988926a85
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "discoursio-webapp",
|
||||
"version": "0.9.0",
|
||||
"version": "0.9.1",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "discoursio-webapp",
|
||||
"version": "0.9.0",
|
||||
"version": "0.9.1",
|
||||
"hasInstallScript": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
|
|
@ -212,9 +212,10 @@ export const SessionProvider = (props: {
|
|||
|
||||
// authorizer api proxy methods
|
||||
|
||||
const signUp = async (params) => {
|
||||
const signUp = async (params: Partial<SignupInput>) => {
|
||||
const authResult: void | AuthToken = await authorizer().signup({
|
||||
...params,
|
||||
password: params.password,
|
||||
confirm_password: params.password,
|
||||
})
|
||||
if (authResult) setSession(authResult)
|
||||
|
|
Loading…
Reference in New Issue
Block a user