Skip to content

Commit 1514673

Browse files
committed
fix: auth service
1 parent 33eba8f commit 1514673

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/controllers/Auth/service.ts

+6-3
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ interface EmailAttributes {
4141

4242
class AuthService {
4343
/**
44-
* Sign Up
44+
*
45+
* @param formData
4546
*/
4647
public static async signUp(formData: UserAttributes) {
4748
const generateToken = {
@@ -91,7 +92,8 @@ class AuthService {
9192
}
9293

9394
/**
94-
* Sign In
95+
*
96+
* @param formData
9597
*/
9698
public static async signIn(formData: LoginAttributes) {
9799
const { email, password } = formData
@@ -144,7 +146,8 @@ class AuthService {
144146
}
145147

146148
/**
147-
* Profile
149+
*
150+
* @param token
148151
*/
149152
public static async profile(token: TokenAttributes) {
150153
if (isObject(token?.data)) {

0 commit comments

Comments
 (0)