Skip to content

Commit

Permalink
update facebook
Browse files Browse the repository at this point in the history
  • Loading branch information
sakchait committed Apr 12, 2020
1 parent 31b2f30 commit de3a0b6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CRM.Calendar/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ private static void CreateNewEvent(CalendarService service, string calendarId, S
Visibility = "default",
Organizer = new Event.OrganizerData
{
Email = employee.Email,
Email = employee.Facebook,
DisplayName = $"{employee.EmpFirstName} {employee.EmpLastName}",
},
Reminders = new Event.RemindersData()
Expand Down Expand Up @@ -470,7 +470,7 @@ private static void UpdateNewEvent(CalendarService service, string calendarId,Sm
Visibility = "default",
Organizer = new Event.OrganizerData
{
Email = employee.Email,
Email = employee.Facebook,
DisplayName = $"{employee.EmpFirstName} {employee.EmpLastName}",
},
Reminders = new Event.RemindersData()
Expand Down
5 changes: 3 additions & 2 deletions CRM.Services/ActivityService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,9 @@ public List<EventAttendee> GetEmailsFollowID(string activityId)
//employeeFollowers.Add(new EmployeeFollowerDto { DisplayName = fullname, Email = emp.Email });
//employeeFollowers.Add(new EventAttendee
//{ DisplayName = fullname, Email = emp.Email });
employeeFollowers.Add(new EventAttendee
{ DisplayName = fullname, Email = emp.Facebook });
if (!string.IsNullOrWhiteSpace(emp.Facebook))
employeeFollowers.Add(new EventAttendee
{ DisplayName = fullname, Email = emp.Facebook });
}
return employeeFollowers;
}
Expand Down

0 comments on commit de3a0b6

Please sign in to comment.