mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-09 08:29:50 -04:00
Added an endpoint that returns all letter jobs, ordered by created_at desc.
This commit is contained in:
@@ -283,6 +283,8 @@ class JobSchema(BaseSchema):
|
||||
job_status = field_for(models.JobStatus, 'name', required=False)
|
||||
|
||||
scheduled_for = fields.DateTime()
|
||||
service_name = fields.Nested(ServiceSchema, attribute="service", dump_to="service_name", only=["name"],
|
||||
dump_only=True)
|
||||
|
||||
@validates('scheduled_for')
|
||||
def validate_scheduled_for(self, value):
|
||||
|
||||
Reference in New Issue
Block a user