@@ -25,7 +25,7 @@ type ProfileApp struct {
2525 Scopes string `json:"scopes"`
2626
2727 // The URL at which this app's thumbnail may be accessed.
28- ThumbnailUrl string `json:"thumbnail_url"`
28+ ThumbnailURL string `json:"thumbnail_url"`
2929
3030 // The website where you can get more information about this app.
3131 Website string `json:"website"`
@@ -54,8 +54,8 @@ func (pa *ProfileApp) UnmarshalJSON(b []byte) error {
5454}
5555
5656// GetProfileApp returns the ProfileApp with the provided id
57- func (c * Client ) GetProfileApp (ctx context.Context , appId int ) (* ProfileApp , error ) {
58- e := formatAPIPath ("profile/apps/%d" , appId )
57+ func (c * Client ) GetProfileApp (ctx context.Context , appID int ) (* ProfileApp , error ) {
58+ e := formatAPIPath ("profile/apps/%d" , appID )
5959 return doGETRequest [ProfileApp ](ctx , c , e )
6060}
6161
@@ -65,8 +65,8 @@ func (c *Client) ListProfileApps(ctx context.Context, opts *ListOptions) ([]Prof
6565}
6666
6767// DeleteProfileApp revokes the given ProfileApp's access to the account
68- func (c * Client ) DeleteProfileApp (ctx context.Context , appId int ) error {
69- e := formatAPIPath ("profile/apps/%d" , appId )
68+ func (c * Client ) DeleteProfileApp (ctx context.Context , appID int ) error {
69+ e := formatAPIPath ("profile/apps/%d" , appID )
7070 err := doDELETERequest (ctx , c , e )
7171 return err
7272}
0 commit comments