Skip to content

Commit

Permalink
Merge pull request #3436 from mitchwagner/patch-2
Browse files Browse the repository at this point in the history
fix: referenced filename
  • Loading branch information
magik6k authored Sep 1, 2020
2 parents 247b520 + 5848877 commit b8bbbf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion documentation/en/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b8bbbf3

Please sign in to comment.