mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-07 07:58:26 -04:00
Serialise UUIDs to string
So that we can serialise them to JSON to store in Redis.
This commit is contained in:
@@ -205,7 +205,7 @@ class ProviderDetailsHistorySchema(BaseSchema):
|
|||||||
strict = True
|
strict = True
|
||||||
|
|
||||||
|
|
||||||
class ServiceSchema(BaseSchema):
|
class ServiceSchema(BaseSchema, UUIDsAsStringsMixin):
|
||||||
|
|
||||||
created_by = field_for(models.Service, 'created_by', required=True)
|
created_by = field_for(models.Service, 'created_by', required=True)
|
||||||
organisation_type = field_for(models.Service, 'organisation_type')
|
organisation_type = field_for(models.Service, 'organisation_type')
|
||||||
|
|||||||
Reference in New Issue
Block a user