Skip to content

Commit 662afc0

Browse files
errored
1 parent 3ad3507 commit 662afc0

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"scripts": {
99
"build": "nest build",
1010
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
11-
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
11+
"lint:fix": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
12+
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\"",
1213
"precommit": "lint-staged",
1314
"prepare": "husky",
1415
"prepush": "echo",

src/modules/user/user.resolver.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,11 @@ export class UserResolver {
1515

1616
@AllowUnauthorizedRequest()
1717
@Mutation(() => GqlUserWithToken, { name: 'login' })
18-
login(@Args('loginUserInput')
19-
loginUserInput: LoginUserInput) {
18+
login(
19+
@Args('loginUserInput')
20+
loginUserInput:
21+
LoginUserInput,
22+
) {
2023
return this.userService.login(loginUserInput);
2124
}
2225

0 commit comments

Comments
 (0)