diff --git a/api/models/availabilityModel.js b/api/models/availabilityModel.js index c7f1dd1..f12db59 100644 --- a/api/models/availabilityModel.js +++ b/api/models/availabilityModel.js @@ -16,7 +16,6 @@ function addAvailability(data) { 'preference', 'start_time', 'end_time', - 'timezone', ]); } diff --git a/api/models/meetingModel.js b/api/models/meetingModel.js index 28f1586..1c83bb5 100644 --- a/api/models/meetingModel.js +++ b/api/models/meetingModel.js @@ -18,7 +18,6 @@ function addMeeting(data) { 'title', 'description', 'start_time', - 'timezone', 'duration', 'status', ]); @@ -33,7 +32,6 @@ function updateMeeting(data, id) { 'title', 'description', 'start_time', - 'timezone', 'duration', 'status', ]); @@ -52,7 +50,6 @@ function getMeetingById(id) { 'title', 'description', 'start_time', - 'timezone', 'duration', 'status', ); @@ -69,7 +66,6 @@ function getParticipantsByMeetingId(meeting_id) { 'p.mandatory', 'p.host', 'p.answered', - 'p.timezone', ) .join('meeting as m', { 'm.id': 'p.meeting_id' }) .where({ meeting_id }); @@ -92,7 +88,6 @@ function getAvailabilityByMeetingId(meeting_id) { 'a.preference', 'a.start_time', 'a.end_time', - 'a.timezone', ) .join('meeting as m', { 'm.id': 'a.meeting_id' }) .where({ meeting_id }); diff --git a/api/models/participantModel.js b/api/models/participantModel.js index a369436..a895283 100644 --- a/api/models/participantModel.js +++ b/api/models/participantModel.js @@ -14,13 +14,10 @@ function addParticipant(data) { .returning([ 'account_id', 'meeting_id', - 'earliest_time', - 'latest_time', 'quorum', 'mandatory', 'host', 'answered', - 'timezone', ]); } @@ -31,13 +28,10 @@ function updateParticipant(data, account_id, meeting_id) { .returning([ 'account_id', 'meeting_id', - 'earliest_time', - 'latest_time', 'quorum', 'mandatory', 'host', 'answered', - 'timezone', ]); } @@ -52,12 +46,9 @@ function getParticipantById(account_id, meeting_id) { .select( 'account_id', 'meeting_id', - 'earliest_time', - 'latest_time', 'quorum', 'mandatory', 'host', 'answered', - 'timezone', ); }