Skip to content

Commit

Permalink
Fixed missing isAuthEnabled in ToJSON for RouterTemplateData.
Browse files Browse the repository at this point in the history
  • Loading branch information
Martinsos committed Feb 4, 2021
1 parent 69bbc32 commit cd015d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions waspc/src/Generator/WebAppGenerator/RouterGenerator.hs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ instance ToJSON RouterTemplateData where
toJSON routerTD = object
[ "routes" .= _routes routerTD
, "pagesToImport" .= _pagesToImport routerTD
, "isAuthEnabled" .= _isAuthEnabled routerTD
]

data RouteTemplateData = RouteTemplateData
Expand Down

0 comments on commit cd015d5

Please sign in to comment.