mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-23 15:56:45 -04:00
New endpoint for delivery app to use.
Once removal of code that uses existing alpha is done, then duplicated code from /notifications/sms and the new endpoint can be merged. Job id is now avaiable in notificaiton but is not used yet.
This commit is contained in:
@@ -90,6 +90,7 @@ class SmsNotificationSchema(NotificationSchema):
|
||||
|
||||
class SmsTemplateNotificationSchema(SmsNotificationSchema):
|
||||
template = fields.Int(required=True)
|
||||
job = fields.String()
|
||||
|
||||
@validates('template')
|
||||
def validate_template(self, value):
|
||||
|
||||
Reference in New Issue
Block a user