@@ -3,9 +3,9 @@ package clickup
33import (
44 "context"
55 "fmt"
6- "github.com/turbot/steampipe-plugin-sdk/v4 /grpc/proto"
7- "github.com/turbot/steampipe-plugin-sdk/v4 /plugin"
8- "github.com/turbot/steampipe-plugin-sdk/v4 /plugin/transform"
6+ "github.com/turbot/steampipe-plugin-sdk/v5 /grpc/proto"
7+ "github.com/turbot/steampipe-plugin-sdk/v5 /plugin"
8+ "github.com/turbot/steampipe-plugin-sdk/v5 /plugin/transform"
99)
1010
1111func tableClickupGoal () * plugin.Table {
@@ -30,7 +30,7 @@ func listGoals(ctx context.Context, d *plugin.QueryData, h *plugin.HydrateData)
3030 return nil , fmt .Errorf ("unable to establish a connection: %v" , err )
3131 }
3232
33- teamId := d .KeyColumnQuals ["team_id" ].GetStringValue ()
33+ teamId := d .EqualsQuals ["team_id" ].GetStringValue ()
3434 plugin .Logger (ctx ).Debug ("listGoals" , "teamId" , teamId )
3535
3636 goals , goalFolders , _ , err := client .Goals .GetGoals (ctx , teamId , true )
@@ -60,7 +60,7 @@ func getGoal(ctx context.Context, d *plugin.QueryData, h *plugin.HydrateData) (i
6060 return nil , fmt .Errorf ("unable to establish a connection: %v" , err )
6161 }
6262
63- goalId := d .KeyColumnQuals ["id" ].GetStringValue ()
63+ goalId := d .EqualsQuals ["id" ].GetStringValue ()
6464 plugin .Logger (ctx ).Debug ("getGoal" , "id" , goalId )
6565
6666 goal , _ , err := client .Goals .GetGoal (ctx , goalId )
0 commit comments