01:58:14  * darkSeid_quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
03:08:15  * _yoy_quit (Quit: Leaving...)
03:18:53  * pudymodyjoined
03:26:52  * jgornickquit (Ping timeout: 240 seconds)
03:27:28  * rorroquit (Ping timeout: 248 seconds)
03:29:07  * jgornickjoined
04:09:33  * pudymodyquit (Quit: Leaving)
05:29:44  * chinmaygupta28joined
05:45:10  <chinmaygupta28>how to check in a middleware that the next middleware is available in the pipeline
05:45:20  <chinmaygupta28>basically I want to do this.
05:45:25  <chinmaygupta28>app.route('/all').get(fnA, fnB)
05:45:25  <chinmaygupta28>app.route('/all2').get(fnA)
05:45:27  <chinmaygupta28>function fnA(req, res, next) {
05:45:28  <chinmaygupta28> result = 'result';
05:45:30  <chinmaygupta28> if (next) {
05:45:31  <chinmaygupta28> next()
05:45:33  <chinmaygupta28> } else {
05:45:34  <chinmaygupta28> res.json(result)
05:45:36  <chinmaygupta28> }
05:45:37  <chinmaygupta28>}
05:45:38  <chinmaygupta28>function fnB (req, res, next) {
05:45:39  <chinmaygupta28> res.json('result 2')
05:45:40  <chinmaygupta28>}
05:47:26  <chinmaygupta28>sorry abt that, sending a pastie
05:47:58  <chinmaygupta28>https://www.pastiebin.com/5a126c8a6a282
05:56:37  * vvraojoined
06:06:04  * Abhishek_quit (Quit: Connection closed for inactivity)
06:10:14  * lpinjoined
06:10:50  * chinmaygupta28quit (Quit: chinmaygupta28)
06:12:20  * chinmaygupta28joined
06:24:30  * chinmaygupta28quit (Quit: chinmaygupta28)
06:28:45  * chinmaygupta28joined
06:53:21  * chinmaygupta28quit (Quit: chinmaygupta28)
07:05:09  * darkSeid_joined
07:08:33  * chinmaygupta28joined
07:11:33  * darkSeid_quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
07:23:36  * chinmaygupta28quit (Quit: chinmaygupta28)
07:23:57  * darkSeid_joined
07:26:34  * chinmaygupta28joined
07:52:04  * darkSeid_quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
08:02:22  * flaviodesousajoined
08:57:36  * chinmaygupta28quit (Quit: chinmaygupta28)
09:17:32  * chinmaygupta28joined
09:27:05  * Arcarcjoined
09:35:41  * rorrojoined
10:09:37  * chinmaygupta28quit (Quit: chinmaygupta28)
10:16:40  * chinmaygupta28joined
10:18:31  * chinmaygupta28quit (Client Quit)
10:19:19  * chinmaygupta28joined
10:21:06  * chinmaygupta28quit (Client Quit)
10:28:31  * chinmaygupta28joined
10:33:38  * chinmaygupta28quit (Quit: chinmaygupta28)
10:38:35  * chinmaygupta28joined
10:40:25  * chinmaygupta28quit (Client Quit)
10:46:59  * chinmaygupta28joined
10:48:39  * chinmaygupta28quit (Client Quit)
10:50:47  * chinmaygupta28joined
11:05:56  * chinmaygupta28quit (Quit: chinmaygupta28)
11:06:36  * chinmaygupta28joined
11:25:11  * mylesborinsquit (Quit: farewell for now)
11:25:41  * mylesborinsjoined
11:32:23  * chinmaygupta28quit (Quit: chinmaygupta28)
11:35:15  * chinmaygupta28joined
11:35:35  * shoobiequit (Ping timeout: 240 seconds)
11:36:04  * shoobiejoined
11:44:02  * chinmaygupta28quit (Quit: chinmaygupta28)
11:46:24  * chinmaygupta28joined
12:07:19  * chinmaygupta28quit (Quit: chinmaygupta28)
12:09:13  * chinmaygupta28joined
12:10:07  * chinmaygupta28quit (Client Quit)
12:12:04  * chinmaygupta28joined
12:14:24  * chinmaygupta28quit (Client Quit)
12:15:49  * chinmaygupta28joined
12:27:18  * shoobiequit (Remote host closed the connection)
12:27:47  * chinmaygupta28quit (Quit: chinmaygupta28)
12:27:49  * shoobiejoined
12:30:22  * chinmaygupta28joined
12:36:03  * chinmaygupta28quit (Quit: chinmaygupta28)
12:52:31  * chinmaygupta28joined
12:55:38  * chinmaygupta28quit (Client Quit)
12:56:18  * chinmaygupta28joined
13:02:57  * rorroquit (Ping timeout: 240 seconds)
13:06:33  * Arcarcarcjoined
13:09:53  * Arcarcquit (Ping timeout: 248 seconds)