Open apandre opened 6 years ago
I'm using hapi.js v17.x, and if I would like to output pagination result with a Vision based view, I'll get error. If I tried to return h.view('viewname', data); it will throw error. Something about Array was expected. Any advice?
return h.view('viewname', data);
I'm using hapi.js v17.x, and if I would like to output pagination result with a Vision based view, I'll get error. If I tried to
return h.view('viewname', data);
it will throw error. Something about Array was expected. Any advice?