Skip to content

Commit

Permalink
Merge pull request #512 from sumesh-aot/sms
Browse files Browse the repository at this point in the history
Fixing issue when sms is disabled in PROD
  • Loading branch information
gil0109 authored Feb 16, 2021
2 parents 13833aa + 163b0da commit 223c395
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ def get(self, reminder_type: str = 'email'):
if appointments:
for (appointment, office, timezone, user) in appointments:
send_reminder = False
user_telephone = None
if reminder_type == 'email':
if user and user.send_email_reminders:
send_reminder = True
Expand Down
2 changes: 1 addition & 1 deletion sonar-runner/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ sonarqube {
property "sonar.projectName", "Queue Management"
property "sonar.projectKey", "org.sonarqube:queue-management"
property "sonar.projectBaseDir", "../"
property "sonar.sources", "./api,./frontend/src,./appointment-frontend/src,/jobs/appointment_reminder"
property "sonar.sources", "./api,./frontend/src,./appointment-frontend/src,./jobs/appointment_reminder,./notifications-api"
property "sonar.exclusions", "**/test_*.py"
property "sonar.verbose", "true"
property "sourceEncoding", "UTF-8"
Expand Down

0 comments on commit 223c395

Please sign in to comment.