tighten types, remove duplicate calls
This commit is contained in:
1 parent
ff2e1fd648
commit
7b1d6c763f
8 files changed
+23
-13
No files matched your search
@@ -69,7 +69,6 @@ class StatusPageController implements IStatusPageController {
|
||||
|
||||
getStatusPageByUrl = catchAsync(async (req: Request, res: Response) => {
|
||||
getStatusPageParamValidation.parse(req.params);
|
||||
getStatusPageQueryValidation.parse(req.query);
|
||||
const { range } = getStatusPageQueryValidation.parse(req.query);
|
||||
|
||||
if (!req.params.url) {
|
||||
|
||||
Reference in new issue
Block a user