Skip to content

Commit 43b0f3c

Browse files
fix pr comments
1 parent 6489ec5 commit 43b0f3c

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

generator/templates/Authorisation/src/api/endpoints/authorisation/register.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ function verify(token, email, password, passwordConfirmation) {
1111

1212
function acceptInvitation(email, token, password, passwordConfirmation) {
1313
return post('invitation/accept', {
14-
email: email,
15-
password: password,
14+
email,
15+
password,
1616
passwordConfirmation,
17-
token: token,
17+
token,
1818
});
1919
}
2020

generator/templates/Authorisation/src/api/endpoints/password/reset.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ import { post } from '../../implementation/app';
22

33
export default async function (email, token, password, passwordConfirmation) {
44
return post('registration', {
5-
email: email,
6-
token: token,
7-
password: password,
8-
password_confirmation: passwordConfirmation,
5+
email,
6+
token,
7+
password,
8+
passwordConfirmation,
99
});
1010
}

generator/templates/Crud/src/components/forms/UserForm.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ import User from '../../application/models/user.js';
2424
2525
export default {
2626
name: 'UserForm',
27+
extends: Form,
2728
components: {
2829
KTextField,
2930
KFieldGroup,
3031
},
31-
extends: Form,
3232
data: () => ({
3333
values: new User(),
3434
}),

0 commit comments

Comments
 (0)