universal-ctags: Add version path segment
… to the download URL.
This commit is contained in:
@ -109,7 +109,7 @@ latestPackagist PackagistArguments{..} = do
|
||||
latestText :: TextArguments -> SlackBuilderT (Maybe Text)
|
||||
latestText (TextArguments textArguments) = do
|
||||
uri <- liftIO $ useHttpsURI <$> mkURI textArguments
|
||||
packagistResponse <- traverse (runReq defaultHttpConfig) $ go . fst <$> uri
|
||||
packagistResponse <- traverse (runReq defaultHttpConfig . go . fst) uri
|
||||
|
||||
pure $ Text.strip . Text.Encoding.decodeASCII . responseBody
|
||||
<$> packagistResponse
|
||||
|
Reference in New Issue
Block a user