Skip to content

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

chore: nil metadata (#13056)

p0nyfe289dfd22e0
diff --git a/backend/api/v1/instance_service.go b/backend/api/v1/instance_service.go
index e92e0e12e0..e3de778d44 100644
--- a/backend/api/v1/instance_service.go
+++ b/backend/api/v1/instance_service.go
@@ -1049,7 +1049,7 @@ func convertToInstance(instance *store.InstanceMessage) (*v1pb.Instance, error)
Environment: fmt.Sprintf("environments/%s", instance.EnvironmentID),
Activation: instance.Activation,
Options: convertToInstanceOptions(instance.Options),
- Roles: convertToInstanceRoles(instance.Metadata.Roles),
+ Roles: convertToInstanceRoles(instance.Metadata.GetRoles()),
}, nil
}