We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a126d2a commit 54387b6Copy full SHA for 54387b6
1 file changed
internal/api/icon.go
@@ -56,7 +56,7 @@ func (c *Client) Icon(ctx context.Context, fs afero.Fs, token, appID, iconFilePa
56
57
// IconSet sets a Slack App's icon using the apps.icon.set API method.
58
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")
+ return c.uploadIcon(ctx, fs, token, appID, iconFilePath, appIconSetMethod, "file")
60
}
61
62
// uploadIcon uploads an icon to the given API method.
0 commit comments