mirror of
https://github.com/Start9Labs/registry.git
synced 2026-03-31 04:03:40 +00:00
return to pure
This commit is contained in:
@@ -82,7 +82,7 @@ instance FromJSON AppManifest where
|
|||||||
[] -> fail "No Valid Version Info"
|
[] -> fail "No Valid Version Info"
|
||||||
(x : xs) -> pure $ x :| xs
|
(x : xs) -> pure $ x :| xs
|
||||||
storeAppTimestamp <- config .:? "timestamp"
|
storeAppTimestamp <- config .:? "timestamp"
|
||||||
return (appId, StoreApp { .. })
|
pure (appId, StoreApp { .. })
|
||||||
return $ AppManifest (HM.fromList apps)
|
return $ AppManifest (HM.fromList apps)
|
||||||
instance ToJSON AppManifest where
|
instance ToJSON AppManifest where
|
||||||
toJSON = toJSON . unAppManifest
|
toJSON = toJSON . unAppManifest
|
||||||
|
|||||||
Reference in New Issue
Block a user