Skip to content

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

fix: fix bug in anomaly.go (#821)

Yilong Lia9382f9a1747
diff --git a/store/anomaly.go b/store/anomaly.go
index e32cfdf4db..b60603f924 100644
--- a/store/anomaly.go
+++ b/store/anomaly.go
@@ -292,7 +292,7 @@ func patchAnomaly(ctx context.Context, tx *sql.Tx, patch *anomalyPatch) (*api.An
&anomaly.UpdaterID,
&anomaly.UpdatedTs,
&anomaly.InstanceID,
- &anomaly.DatabaseID,
+ &databaseID,
&anomaly.Type,
&anomaly.Payload,
); err != nil {