Skip to content
This repository was archived by the owner on Apr 17, 2020. It is now read-only.

Commit cefcbe9

Browse files
author
Your Name
committed
RxJs and Reactive Patterns Angular Architecture Course ongoing
1 parent b5d7f1b commit cefcbe9

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/server/lessonsRoute.ts

-7
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,6 @@ export function lessonsRoute(req, res) {
77

88
console.log(req.query);
99

10-
const random = Math.ceil(Math.random() * 10);
11-
12-
if (random % 2 == 1) {
13-
res.sendStatus(500);
14-
return;
15-
}
16-
1710
const courseId = parseInt(req.query['courseId']) - 1,
1811
pageNumber = parseInt(req.query['pageNumber']),
1912
pageSize = parseInt(req.query['pageSize']);

0 commit comments

Comments
 (0)