diff --git a/backend/api/serializers/checks_serializer.py b/backend/api/serializers/checks_serializer.py index d937261a..eeafcf17 100644 --- a/backend/api/serializers/checks_serializer.py +++ b/backend/api/serializers/checks_serializer.py @@ -76,7 +76,6 @@ class Meta: def validate(self, attrs): data = super().validate(attrs) - if "time_limit" in data and not 10 <= data["time_limit"] <= 1000: raise serializers.ValidationError(_("extra_check.error.time_limit")) diff --git a/frontend/src/components/forms/ErrorMessage.vue b/frontend/src/components/forms/ErrorMessage.vue index 349dcb75..c6c0e487 100644 --- a/frontend/src/components/forms/ErrorMessage.vue +++ b/frontend/src/components/forms/ErrorMessage.vue @@ -1,10 +1,15 @@