File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -250,8 +250,8 @@ func (c *Client) DeleteTag(ctx context.Context, id string) error {
250250 return err
251251}
252252
253- // DeleteTagCategory deletes a Tag Category named `id `.
254- func (c * Client ) DeleteTagCategory (ctx context.Context , id string ) error {
253+ // DeleteTagCategory deletes a Tag Category named `categoryName `.
254+ func (c * Client ) DeleteTagCategory (ctx context.Context , categoryName string ) error {
255255 ctx , cancel := context .WithTimeout (ctx , defaultTimeout )
256256 defer cancel ()
257257
@@ -270,7 +270,7 @@ func (c *Client) DeleteTagCategory(ctx context.Context, id string) error {
270270 }
271271 continue
272272 }
273- if category .Name == id {
273+ if category .Name == categoryName {
274274 if err = tagManager .DeleteCategory (ctx , category ); err != nil {
275275 return err
276276 }
You can’t perform that action at this time.
0 commit comments