@@ -3,8 +3,9 @@ package linodego
33import (
44 "context"
55 "encoding/json"
6- "github.com/linode/linodego/internal/parseabletime"
76 "time"
7+
8+ "github.com/linode/linodego/internal/parseabletime"
89)
910
1011// ProfileApp represents a ProfileApp object
@@ -25,7 +26,7 @@ type ProfileApp struct {
2526 Scopes string `json:"scopes"`
2627
2728 // The URL at which this app's thumbnail may be accessed.
28- ThumbnailUrl string `json:"thumbnail_url"`
29+ ThumbnailURL string `json:"thumbnail_url"`
2930
3031 // The website where you can get more information about this app.
3132 Website string `json:"website"`
@@ -54,8 +55,8 @@ func (pa *ProfileApp) UnmarshalJSON(b []byte) error {
5455}
5556
5657// 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 )
58+ func (c * Client ) GetProfileApp (ctx context.Context , appID int ) (* ProfileApp , error ) {
59+ e := formatAPIPath ("profile/apps/%d" , appID )
5960 return doGETRequest [ProfileApp ](ctx , c , e )
6061}
6162
@@ -65,8 +66,8 @@ func (c *Client) ListProfileApps(ctx context.Context, opts *ListOptions) ([]Prof
6566}
6667
6768// 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 )
69+ func (c * Client ) DeleteProfileApp (ctx context.Context , appID int ) error {
70+ e := formatAPIPath ("profile/apps/%d" , appID )
7071 err := doDELETERequest (ctx , c , e )
7172 return err
7273}
0 commit comments