@@ -19,7 +19,7 @@ import (
1919 "fmt"
2020 "net/http"
2121
22- "github.com/google/go-github/v86 /github"
22+ "github.com/google/go-github/v88 /github"
2323)
2424
2525// Installation is a minimal representation of a GitHub app installation.
@@ -108,14 +108,14 @@ func (i defaultInstallationsService) ListAll(ctx context.Context) ([]Installatio
108108}
109109
110110func (i defaultInstallationsService ) GetByOwner (ctx context.Context , owner string ) (Installation , error ) {
111- installation , _ , err := i .Apps .FindOrganizationInstallation (ctx , owner )
111+ installation , _ , err := i .Apps .GetOrganizationInstallation (ctx , owner )
112112 if err == nil {
113113 return toInstallation (installation ), nil
114114 }
115115
116116 // owner is not an organization, try to find as a user
117117 if isNotFound (err ) {
118- installation , _ , err = i .Apps .FindUserInstallation (ctx , owner )
118+ installation , _ , err = i .Apps .GetUserInstallation (ctx , owner )
119119 if err == nil {
120120 return toInstallation (installation ), nil
121121 }
@@ -128,7 +128,7 @@ func (i defaultInstallationsService) GetByOwner(ctx context.Context, owner strin
128128}
129129
130130func (i defaultInstallationsService ) GetByRepository (ctx context.Context , owner , repo string ) (Installation , error ) {
131- installation , _ , err := i .Apps .FindRepositoryInstallation (ctx , owner , repo )
131+ installation , _ , err := i .Apps .GetRepositoryInstallation (ctx , owner , repo )
132132 if err == nil {
133133 return toInstallation (installation ), nil
134134 }
0 commit comments