00:57:42  <mezod>how do I need to return the body in a DELETE so that it doesn't contain 'OK' ?
01:05:32  <mezod>I am doing this.response.body = null; and I still get that OK :/
01:07:49  <TBotV63>Set it to an empty string.
01:07:56  <TBotV63>Null assumes default response iirc
01:11:56  * jxvquit (Read error: Connection reset by peer)
01:13:18  * TheThingquit (Remote host closed the connection)
01:37:42  * jxvjoined
01:53:51  <TBotV63>mezod ^
02:00:56  <mezod>TBotV63: ty now I get an even weirder error
02:00:58  <mezod>yay
02:01:10  <TBotV63>which is?
02:01:42  <mezod>Uncaught (in promise) SyntaxError: Unexpected end of input
02:01:46  <mezod>nah not koa related i guess
02:01:58  <mezod>what the heck does that even mean
02:01:59  <TBotV63>nop, doesn't appear to be.
02:02:01  <mezod>x)
02:02:40  <TBotV63>Are you evaling anything within a promise (some db drivers do that aswell)?
02:02:57  <TBotV63>Cause that's what it could be
02:10:50  <mezod>hmm not really
02:10:55  <mezod>it's the return of a delete
02:11:21  <mezod>and it cant be syntax because the linter doesn't complain
02:11:38  <mezod>maybe it doesnt like the empty string body i return
02:35:52  * macwinnerjoined
02:42:32  * TheThingjoined
02:57:15  * vigilvindexquit (Ping timeout: 240 seconds)
02:57:55  * vigilvindexjoined
02:58:06  * McJesusquit (Ping timeout: 240 seconds)
02:58:35  * McJesusjoined
03:28:36  * mezodquit (Remote host closed the connection)
05:10:05  * vigilvindex_joined
05:14:06  * smtudor_joined
05:14:22  * vigilvindexquit (*.net *.split)
05:14:26  * smtudorquit (*.net *.split)
05:23:53  * kruncherjoined
05:24:30  <kruncher>hey folks; i have been studying the source code for koa with regards to code formatting because koa is very well formatted; but there is one instance that i cannot find an example of
05:25:07  <kruncher>so my question: with Koa's coding guidelines; does it use array.forEach or for ( ... of array) ?
05:25:45  <kruncher>and if the latter; does it use for (let or for (var
05:48:06  * TBotV63_joined
05:50:06  <TheThing>kruncher: It is recomennded to always use "let". "let" will behave like you'd expect from a programming language on how variables will behave
05:50:15  <TheThing>var has A LOT of weird behavior
05:50:18  <TheThing>so avoid at all cost
05:50:58  <TheThing>second, I use both, depending on circumstances. array.forEach allows you to define a function and that works better should you say, have a promise inside or something
05:51:05  * TBotV63quit (Ping timeout: 250 seconds)
05:51:08  * rickharrisonquit (Ping timeout: 250 seconds)
05:51:13  <TheThing>or hooking up events or whatever
05:56:52  * rickharrisonjoined
06:20:27  * slurp2quit (Ping timeout: 244 seconds)
06:20:36  * slurp2joined
06:40:15  * jxvquit (Ping timeout: 240 seconds)
07:05:21  * AustinMathernequit (Ping timeout: 255 seconds)
07:06:07  * AustinMathernejoined
07:38:10  <kruncher>TheThing, that makes a lot of sense; thanks!
07:45:12  * macwinnerquit (Remote host closed the connection)
07:50:54  <chovy>howdy
07:52:22  <chovy>AssertionError: app.use() requires a generator function
07:52:53  <chovy>caused by this line: app.use(router(app));
08:07:34  * TheThingquit (Remote host closed the connection)
08:23:42  * kruncherquit (Quit: Leaving)
08:45:36  * macwinnerjoined
08:51:32  * macwinnerquit (Ping timeout: 272 seconds)
10:20:29  * kudosquit (Ping timeout: 252 seconds)
10:20:29  * calvinmetcalfquit (Ping timeout: 252 seconds)
10:26:27  * kudosjoined
10:27:51  * calvinmetcalfjoined
10:57:42  * chovyquit (Ping timeout: 260 seconds)
10:59:18  * chovyjoined
12:45:19  * vigilvindex_quit (Remote host closed the connection)
12:45:40  * vigilvindexjoined
13:12:44  * mezodjoined
14:16:44  * fl0wjoined
14:16:48  * fl0wpart
14:37:30  * jxvjoined
14:40:30  * jxvquit (Read error: Connection reset by peer)
15:12:04  * macwinnerjoined
15:14:48  * TBotV63_changed nick to TBotV63
15:16:49  * macwinnerquit (Ping timeout: 265 seconds)
16:21:37  * jxvjoined
16:56:23  * macwinnerjoined
20:13:08  * macwinnerquit (Remote host closed the connection)
21:13:38  * macwinnerjoined
21:18:34  * macwinnerquit (Ping timeout: 240 seconds)
23:00:47  * fsalgojoined
23:32:45  * macwinnerjoined