mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-23 17:01:35 -05:00
A small refactor to use the SMS_TYPE and EMAIL_TYPE in code rather that 'sms' or 'email'
This commit is contained in:
@@ -293,7 +293,7 @@ class Job(db.Model):
|
||||
created_by_id = db.Column(UUID(as_uuid=True), db.ForeignKey('users.id'), index=True, nullable=False)
|
||||
|
||||
|
||||
VERIFY_CODE_TYPES = ['email', 'sms']
|
||||
VERIFY_CODE_TYPES = [EMAIL_TYPE, SMS_TYPE]
|
||||
|
||||
|
||||
class VerifyCode(db.Model):
|
||||
|
||||
Reference in New Issue
Block a user