Skip to content

Commit

Permalink
adding more recipients to weekly reminders
Browse files Browse the repository at this point in the history
  • Loading branch information
dchourasia committed Sep 5, 2024
1 parent b863404 commit 83320ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/weekly_reminder.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def send_request_to_update_inactive_hours(row:smartsheet.smartsheet.models.row,
payload = json.loads(payload)
payload['rowIds']= [row.id]
payload['columnIds'] = [value for key, value in column_map.items()]
payload['sendTo'] = [{'email': row.cells[7].value}]
payload['sendTo'] = [{'email': row.cells[7].value}, {'email': '[email protected]'}, {'email': '[email protected]'}]
# , {'email': '[email protected]'}
response = smart.Passthrough.post(f'/sheets/{sheed_id}/updaterequests', payload)
print(response)
Expand Down

0 comments on commit 83320ef

Please sign in to comment.