slow af but works

This commit is contained in:
Aiden McClelland
2022-09-07 16:51:32 -06:00
parent b7d2464419
commit ee9958c2a5

View File

@@ -104,7 +104,7 @@ getVersionFromQuery = do
Nothing -> pure Nothing
Just v -> case readMaybe v of
Nothing -> sendResponseStatus status400 ("Invalid Version" :: Text)
Just t -> pure Just t
Just t -> pure (Just t)
getHashFromQuery :: MonadHandler m => m (Maybe Text)
getHashFromQuery = lookupGetParam "hash"