diff options
Diffstat (limited to 'compiler/src/Config.hs')
-rw-r--r-- | compiler/src/Config.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/src/Config.hs b/compiler/src/Config.hs index 3c38a17..afcfb36 100644 --- a/compiler/src/Config.hs +++ b/compiler/src/Config.hs | |||
@@ -84,7 +84,7 @@ readConfig = decodeYamlFile | |||
84 | data ViewerConfig = ViewerConfig | 84 | data ViewerConfig = ViewerConfig |
85 | { galleryTitle :: String | 85 | { galleryTitle :: String |
86 | , tagCategories :: [String] | 86 | , tagCategories :: [String] |
87 | } deriving (Generic, ToJSON, Show) | 87 | } deriving (Generic, ToJSON, FromJSON, Show) |
88 | 88 | ||
89 | viewerConfig :: GalleryConfig -> ViewerConfig | 89 | viewerConfig :: GalleryConfig -> ViewerConfig |
90 | viewerConfig GalleryConfig{galleryTitle, tagCategories} = ViewerConfig galleryTitle tagCategories | 90 | viewerConfig GalleryConfig{galleryTitle, tagCategories} = ViewerConfig galleryTitle tagCategories |