Skip to content

Commit e9879a0

Browse files
committed
move that back'
'
1 parent 56b85c9 commit e9879a0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/sentry/workflow_engine/models/detector.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,14 @@ class Detector(DefaultFieldsModel, OwnerModel, JSONConfigBase):
6565
# The user that created the detector
6666
created_by_id = HybridCloudForeignKey(settings.AUTH_USER_MODEL, null=True, on_delete="SET_NULL")
6767

68+
class Meta(OwnerModel.Meta):
69+
constraints = OwnerModel.Meta.constraints
70+
6871
error_detector_project_options = {
6972
"fingerprinting_rules": "sentry:fingerprinting_rules",
7073
"resolve_age": "sentry:resolve_age",
7174
}
7275

73-
class Meta(OwnerModel.Meta):
74-
constraints = OwnerModel.Meta.constraints
75-
7676
@property
7777
def group_type(self) -> builtins.type[GroupType]:
7878
group_type = grouptype.registry.get_by_slug(self.type)

0 commit comments

Comments
 (0)