Skip to content

Commit 4cd506a

Browse files
committed
fix: user controller
1 parent 64621cb commit 4cd506a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/controllers/User/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 UserService from './service'
87

9-
const { APP_KEY_REDIS } = process.env
10-
// Key Redis Cache
11-
const keyGetAll = `${APP_KEY_REDIS}_user:getAll`
12-
138
routes.get(
149
'/user',
1510
Authorization,

0 commit comments

Comments
 (0)