We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c72962 commit b233f24Copy full SHA for b233f24
app/models/services/service_key.rb
@@ -47,7 +47,7 @@ def validate
47
validates_unique [:name, :service_instance_id]
48
49
if service_instance
50
- space_ids_for_org_dataset = Space.where(organization_id: space.organization.id).select(:id)
+ space_ids_for_org_dataset = Space.where(organization_id: space.organization_id).select(:id)
51
MaxServiceKeysPolicy.new(
52
self,
53
ServiceKey.filter(service_instance: ServiceInstance.where(space_id: space_ids_for_org_dataset)),
0 commit comments