Skip to content

Commit

Permalink
Merge pull request #190 from melhorenvio/feature/add-compatibility-pl…
Browse files Browse the repository at this point in the history
…ugins-composite

fix: corrige cotação em cache
  • Loading branch information
JoaoPedro0000 authored May 9, 2024
2 parents 245ec94 + 0a78c22 commit d99c3b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Services/QuotationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ public function calculateQuotationByProducts(

$options = ( new Option() )->getOptions();

$cachedQuotations = $this->getSessionCachedQuotations( $hash."1" );
$cachedQuotations = $this->getSessionCachedQuotations( $hash );

if ( empty( $cachedQuotations ) ) {
$quotations = $this->calculate( $payload, $options->insurance_value );
Expand Down

0 comments on commit d99c3b1

Please sign in to comment.