Skip to content

Commit

Permalink
Update services/admin/promo/create_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
yitsushi committed Oct 20, 2023
1 parent c9648e7 commit a02e6e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/admin/promo/create_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func TestPromoRequest_Validate(t *testing.T) {
)
}

func ExampleService_CreatePromo() {
func ExampleService_Create() {
client, _ := misskey.NewClientWithOptions(misskey.WithSimpleConfig("https://slippy.xyz", os.Getenv("MISSKEY_TOKEN")))

err := client.Admin().Promo().Create(promo.CreateRequest{
Expand Down

0 comments on commit a02e6e3

Please sign in to comment.