File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -74,13 +74,16 @@ def get_project_config(project_id, full_config=True):
7474 'piiConfig' : _get_pii_config (project , org_options ),
7575 },
7676 'project_id' : project .id ,
77- 'organization_id' : project .organization_id ,
7877 }
7978
8079 if not full_config :
8180 # This is all we need for external Relay processors
8281 return ProjectConfig (project , ** cfg )
8382
83+ # The organization id is only required for reporting when processing events
84+ # internally. Do not expose it to external Relays.
85+ cfg ['organization_id' ] = project .organization_id
86+
8487 # Explicitly bind Organization so we don't implicitly query it later
8588 # this just allows us to comfortably assure that `project.organization` is safe.
8689 # This also allows us to pull the object from cache, instead of being
You can’t perform that action at this time.
0 commit comments