소스 검색

fix role again

yazid138 3 년 전
부모
커밋
5edd4bc16d
1개의 변경된 파일0개의 추가작업 그리고 5개의 파일을 삭제
  1. 0 5
      controller/graph.controller.js

+ 0 - 5
controller/graph.controller.js

@@ -254,11 +254,6 @@ exports.excel = handleError(async (req, res) => {
       ]
       w['pt.pembina.id'] = user.lembaga.id
       break
-    default:
-      return response.error(res, {
-        message: 'Forbidden',
-        code: 403,
-      })
   }
 
   const { tahun } = req.query