diff --git a/waspc/src/Generator/WebAppGenerator/RouterGenerator.hs b/waspc/src/Generator/WebAppGenerator/RouterGenerator.hs index 8caf404c85..299ad0bca8 100644 --- a/waspc/src/Generator/WebAppGenerator/RouterGenerator.hs +++ b/waspc/src/Generator/WebAppGenerator/RouterGenerator.hs @@ -28,6 +28,7 @@ instance ToJSON RouterTemplateData where toJSON routerTD = object [ "routes" .= _routes routerTD , "pagesToImport" .= _pagesToImport routerTD + , "isAuthEnabled" .= _isAuthEnabled routerTD ] data RouteTemplateData = RouteTemplateData