mirror of
https://github.com/Start9Labs/registry.git
synced 2026-03-26 02:11:53 +00:00
lift version
This commit is contained in:
@@ -104,7 +104,7 @@ getVersionFromQuery = do
|
||||
Nothing -> pure Nothing
|
||||
Just v -> case readMaybe v of
|
||||
Nothing -> sendResponseStatus status400 ("Invalid Version" :: Text)
|
||||
Just t -> pure t
|
||||
Just t -> pure Just t
|
||||
|
||||
getHashFromQuery :: MonadHandler m => m (Maybe Text)
|
||||
getHashFromQuery = lookupGetParam "hash"
|
||||
|
||||
Reference in New Issue
Block a user