From 6388e9cafbf99314caf869b8b240bc1ca1b8f04b Mon Sep 17 00:00:00 2001 From: Matei Adriel Date: Sat, 19 Jan 2019 23:25:24 +0200 Subject: [PATCH] typescript(translucid): added [] in keys in readme Signed-off-by: prescientmoon --- typescript/translucid/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typescript/translucid/README.md b/typescript/translucid/README.md index d64c6d9..b8bb366 100644 --- a/typescript/translucid/README.md +++ b/typescript/translucid/README.md @@ -36,7 +36,7 @@ Then you can add midlewares like this: ``` translucid.use({ name:"my midleware", - keys:"myid", + keys:["myid"], run:(prev,req,res,next) => { //prev is the data that is going to be sent to the client //(it might for example be the index.html file);