From 5f96dea46ec23f5886f830194c26ba7136b8b59f Mon Sep 17 00:00:00 2001 From: Lucy Cifferello <12953208+elvece@users.noreply.github.com> Date: Wed, 13 Jan 2021 13:33:54 -0700 Subject: [PATCH] return to pure --- src/Lib/Types/AppIndex.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Lib/Types/AppIndex.hs b/src/Lib/Types/AppIndex.hs index b817303..1cf6494 100644 --- a/src/Lib/Types/AppIndex.hs +++ b/src/Lib/Types/AppIndex.hs @@ -82,7 +82,7 @@ instance FromJSON AppManifest where [] -> fail "No Valid Version Info" (x : xs) -> pure $ x :| xs storeAppTimestamp <- config .:? "timestamp" - return (appId, StoreApp { .. }) + pure (appId, StoreApp { .. }) return $ AppManifest (HM.fromList apps) instance ToJSON AppManifest where toJSON = toJSON . unAppManifest