Skip to content

Commit

Permalink
Fixed linting issues
Browse files Browse the repository at this point in the history
Fixed linting issues
  • Loading branch information
lee-delarm6 committed Dec 19, 2024
1 parent 3c9df3b commit 5822040
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions modules/vaos/app/services/vaos/v2/appointments_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ def get_appointments(start_date, end_date, statuses = nil, pagination_params = {
}
end
rescue Common::Client::Errors::ParsingError, Common::Client::Errors::ClientError,
Common::Exceptions::GatewayTimeout, MAP::SecurityToken::Errors::ApplicationMismatchError,
MAP::SecurityToken::Errors::MissingICNError => e
Common::Exceptions::GatewayTimeout, MAP::SecurityToken::Errors::ApplicationMismatchError,
MAP::SecurityToken::Errors::MissingICNError => e
{
data: {},
meta: pagination(pagination_params).merge({
Expand Down Expand Up @@ -103,14 +103,14 @@ def post_appointment(request_object_body)
params.compact_blank!
with_monitoring do
response = if Flipper.enabled?(APPOINTMENTS_USE_VPG, user) &&
Flipper.enabled?(APPOINTMENTS_ENABLE_OH_REQUESTS)
Flipper.enabled?(APPOINTMENTS_ENABLE_OH_REQUESTS)
perform(:post, appointments_base_path_vpg, params, headers)
else
perform(:post, appointments_base_path_vaos, params, headers)
end

if request_object_body[:kind] == 'clinic' &&
booked?(request_object_body) # a direct scheduled appointment
booked?(request_object_body) # a direct scheduled appointment
modify_desired_date(request_object_body, get_facility_timezone(request_object_body[:location_id]))
end

Expand All @@ -131,7 +131,7 @@ def post_appointment(request_object_body)
def update_appointment(appt_id, status)
with_monitoring do
if Flipper.enabled?(ORACLE_HEALTH_CANCELLATIONS, user) &&
Flipper.enabled?(APPOINTMENTS_USE_VPG, user)
Flipper.enabled?(APPOINTMENTS_USE_VPG, user)
update_appointment_vpg(appt_id, status)
get_appointment(appt_id)
else
Expand Down

0 comments on commit 5822040

Please sign in to comment.