Skip to content

Commit

Permalink
CM-868: fixed missing user staff gql
Browse files Browse the repository at this point in the history
  • Loading branch information
sniedzielski committed Apr 22, 2024
1 parent d0b51bf commit 2fd5d98
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion grievance_social_protection/gql_mutations.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class TicketStatusEnum(graphene.Enum):
description = graphene.String(required=False)
reporter_type = graphene.String(required=True, max_lenght=255)
reporter_id = graphene.String(required=True)
attending_staff_uuid = graphene.UUID(required=False)
attending_staff_id = graphene.UUID(required=False)
date_of_incident = graphene.Date(required=False)
status = graphene.Field(TicketStatusEnum, required=False)
priority = graphene.String(required=False)
Expand Down
3 changes: 1 addition & 2 deletions grievance_social_protection/services.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ def __init__(self, user, validation_class=TicketValidation):
def create(self, obj_data):
self._get_content_type(obj_data)
self._generate_code(obj_data)
d = super().create(obj_data)
return d
return super().create(obj_data)

@register_service_signal('ticket_service.update')
def update(self, obj_data):
Expand Down

0 comments on commit 2fd5d98

Please sign in to comment.