ts
This commit is contained in:
1 parent
92fd405395
commit
46740aa4b9
1 file changed
+3
@@ -68,6 +68,9 @@ class ChecksController implements IChecksController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const checkId = req.params.id;
|
const checkId = req.params.id;
|
||||||
|
if (!checkId) {
|
||||||
|
throw new ApiError("No check ID", 400);
|
||||||
|
}
|
||||||
const check = await this.checkService.getCheckById(checkId, teamId);
|
const check = await this.checkService.getCheckById(checkId, teamId);
|
||||||
|
|
||||||
return res.status(200).json({
|
return res.status(200).json({
|
||||||
|
|||||||
Reference in new issue
Block a user