We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bc48bb commit 20ba10bCopy full SHA for 20ba10b
src/apis/auth.ts
@@ -70,15 +70,15 @@ export interface RegisterResponse {}
70
71
export const requestRegister = (
72
email: string,
73
- registerToken: string,
+ registrationToken: string,
74
username: string,
75
password: string,
76
) => {
77
return jsonRequest<Response<RegisterResponse>>('/user/register', {
78
method: 'POST',
79
json: {
80
email,
81
- register_token: registerToken,
+ registration_token: registrationToken,
82
user_name: username,
83
password,
84
},
0 commit comments