Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

fix(action): use NewClientFromWorld in check command for access-token support (#19433)

rebelicefa7fff32d230
diff --git a/action/command/check.go b/action/command/check.go
index cdf5a941d8..f047dabe62 100644
--- a/action/command/check.go
+++ b/action/command/check.go
@@ -53,7 +53,7 @@ func runCheck(w *world.World) func(*cobra.Command, []string) error {
}()
platform := w.Platform
w.Logger.Info("running on platform", "platform", platform.String())
- client, err := NewClient(w.URL, w.ServiceAccount, w.ServiceAccountSecret)
+ client, err := NewClientFromWorld(w)
if err != nil {
return err
}