Fix example
This commit is contained in:
parent
43b274bbd2
commit
983ab89d48
|
@ -8,7 +8,7 @@ import (
|
|||
"github.com/mattn/go-mastodon"
|
||||
)
|
||||
|
||||
func ExampleApplication_RegisterApp() {
|
||||
func ExampleRegisterApp() {
|
||||
app, err := mastodon.RegisterApp(context.Background(), &mastodon.AppConfig{
|
||||
Server: "https://mstdn.jp",
|
||||
ClientName: "client-name",
|
||||
|
|
Loading…
Reference in New Issue
Block a user