From 99a03812a4598c6b1c0351060fef060aff862654 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Chopin?= Date: Wed, 5 Apr 2017 18:25:12 +0200 Subject: [PATCH] Update client.js --- lib/app/client.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/app/client.js b/lib/app/client.js index 5d12832301..ad935ff848 100644 --- a/lib/app/client.js +++ b/lib/app/client.js @@ -129,8 +129,8 @@ function render (to, from, next) { if (!isValid) return if (typeof Component.options.validate !== 'function') return isValid = Component.options.validate({ - params : to.params || {}, - query : to.query || {}<%= (store ? ', store: ctx.store' : '') %> + params: to.params || {}, + query: to.query || {}<%= (store ? ', store: ctx.store' : '') %> }) }) if (!isValid) {