From a1ab89bfa39844669f1c8d639f6adeb6c75c1968 Mon Sep 17 00:00:00 2001 From: agravell047 Date: Tue, 26 Mar 2024 16:46:53 -0400 Subject: [PATCH] updated rx client --- lib/rx/client.rb | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/lib/rx/client.rb b/lib/rx/client.rb index c3a9fe4780f..a963fdbeb0b 100644 --- a/lib/rx/client.rb +++ b/lib/rx/client.rb @@ -123,10 +123,7 @@ def get_tracking_history_rx(id) # @return [Faraday::Env] # def post_refill_rxs(ids) - if (result = perform(:post, 'prescription/rxrefill', ids, token_headers)) - Common::Collection.bust([cache_key('getactiverx'), cache_key('gethistoryrx')]) - end - result + perform(:post, 'prescription/rxrefill', ids, token_headers) end ## @@ -136,10 +133,7 @@ def post_refill_rxs(ids) # @return [Faraday::Env] # def post_refill_rx(id) - if (result = perform(:post, "prescription/rxrefill/#{id}", nil, token_headers)) - Common::Collection.bust([cache_key('getactiverx'), cache_key('gethistoryrx')]) - end - result + perform(:post, "prescription/rxrefill/#{id}", nil, token_headers) end ##