Skip to content

Commit 54387b6

Browse files
committed
change api field name
1 parent a126d2a commit 54387b6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/api/icon.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ func (c *Client) Icon(ctx context.Context, fs afero.Fs, token, appID, iconFilePa
5656

5757
// IconSet sets a Slack App's icon using the apps.icon.set API method.
5858
func (c *Client) IconSet(ctx context.Context, fs afero.Fs, token, appID, iconFilePath string) (IconResult, error) {
59-
return c.uploadIcon(ctx, fs, token, appID, iconFilePath, appIconSetMethod, "icon")
59+
return c.uploadIcon(ctx, fs, token, appID, iconFilePath, appIconSetMethod, "file")
6060
}
6161

6262
// uploadIcon uploads an icon to the given API method.

0 commit comments

Comments
 (0)