We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7337d4e commit 814a860Copy full SHA for 814a860
src/controllers/RefreshToken/service.ts
@@ -52,6 +52,11 @@ class RefreshTokenService {
52
throw new ResponseError.BadRequest('Something went wrong')
53
}
54
55
+ /**
56
+ *
57
+ * @param email
58
+ * @param refreshToken
59
+ */
60
public static async getAccessToken(email: string, refreshToken: string) {
61
if (!email || !refreshToken) {
62
throw new ResponseError.BadRequest('invalid token')
src/controllers/Role/service.ts
@@ -43,6 +43,7 @@ class RoleService {
43
/**
44
*
45
* @param id
46
+ * @param paranoid
47
*/
48
public static async getOne(id: string, paranoid?: boolean) {
49
const data = await Role.findByPk(id, { paranoid })
0 commit comments