Skip to content

Commit 814a860

Browse files
committed
fix: add comment params
1 parent 7337d4e commit 814a860

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/controllers/RefreshToken/service.ts

+5
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ class RefreshTokenService {
5252
throw new ResponseError.BadRequest('Something went wrong')
5353
}
5454

55+
/**
56+
*
57+
* @param email
58+
* @param refreshToken
59+
*/
5560
public static async getAccessToken(email: string, refreshToken: string) {
5661
if (!email || !refreshToken) {
5762
throw new ResponseError.BadRequest('invalid token')

src/controllers/Role/service.ts

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ class RoleService {
4343
/**
4444
*
4545
* @param id
46+
* @param paranoid
4647
*/
4748
public static async getOne(id: string, paranoid?: boolean) {
4849
const data = await Role.findByPk(id, { paranoid })

0 commit comments

Comments
 (0)