Skip to content

Commit af57aa4

Browse files
committed
fix: role controller
1 parent 1514673 commit af57aa4

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/controllers/Role/controller.ts

-5
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,10 @@
1-
/* eslint-disable no-unused-vars */
21
import { Request, Response } from 'express'
32
import routes from 'routes/public'
43
import asyncHandler from 'helpers/asyncHandler'
54
import Authorization from 'middlewares/Authorization'
65
import BuildResponse from 'modules/Response/BuildResponse'
76
import RoleService from './service'
87

9-
const { APP_KEY_REDIS } = process.env
10-
// Key Redis Cache
11-
const keyGetAll = `${APP_KEY_REDIS}_role:getAll`
12-
138
routes.get(
149
'/role',
1510
asyncHandler(async function getAll(req: Request, res: Response) {

0 commit comments

Comments
 (0)