Skip to content

Commit 800a8c2

Browse files
fix bug
1 parent 3794a08 commit 800a8c2

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/modules/user/user.resolver.ts

+5-4
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,17 @@ export class UserResolver {
1717
@Mutation(() => GqlUserWithToken, { name: 'login' })
1818
login(
1919
@Args('loginUserInput')
20-
loginUserInput:
21-
LoginUserInput,
20+
loginUserInput: LoginUserInput,
2221
) {
2322
return this.userService.login(loginUserInput);
2423
}
2524

2625
@AllowUnauthorizedRequest()
2726
@Mutation(() => GqlUserWithToken)
28-
createUser(@Args('createUserInput')
29-
createUserInput: CreateUserInput) {
27+
createUser(
28+
@Args('createUserInput')
29+
createUserInput: CreateUserInput,
30+
) {
3031
return this.userService.createUser(createUserInput);
3132
}
3233
@Query(() => GqlUserWithToken, { name: 'profile' })

0 commit comments

Comments
 (0)