diff --git a/documentation/en/api.md b/documentation/en/api.md index 055bd7104c4..9760e2f32b5 100644 --- a/documentation/en/api.md +++ b/documentation/en/api.md @@ -26,7 +26,7 @@ The necessary permissions for each are in [api/struct.go](https://github.com/fil ## How do I make an API request? -To demonstrate making an API request, we will take the method `ChainHead` from [api/api.go](https://github.com/filecoin-project/lotus/blob/master/api/api_full.go). +To demonstrate making an API request, we will take the method `ChainHead` from [api/api_full.go](https://github.com/filecoin-project/lotus/blob/master/api/api_full.go). ```go ChainHead(context.Context) (*types.TipSet, error)