Skip to content

Commit

Permalink
chore: typings
Browse files Browse the repository at this point in the history
  • Loading branch information
GabDug committed Sep 27, 2024
1 parent c933b80 commit 1c27567
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/firefighter/api/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,12 +219,12 @@ class IncidentSerializer(TaggitSerializer, serializers.ModelSerializer[Incident]
created_by = UserSerializer(read_only=True)
slack_channel_name = serializers.SerializerMethodField()

created_by_email = CreatableSlugRelatedField[User]( # type: ignore[misc]
created_by_email = CreatableSlugRelatedField[User](
source="created_by",
write_only=True,
slug_field="email",
queryset=User.objects.all(),
validators=[EmailValidator()],
validators=[EmailValidator()], # type: ignore[list-item]
)

tags = TagListSerializerField(read_only=True)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

{% component "modal" autoplay="true" %}
{% component "modal" autoplay=False %}
{% fill "modal_header" %}
Time Range syntax
{% endfill %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% component "modal" autoplay=True header=False%}
{% component "modal" autoplay=True header=False %}

{% fill "modal_header" %}
Trigger on-call
Expand Down

0 comments on commit 1c27567

Please sign in to comment.