Skip to content

Commit

Permalink
[PLA-1979] Fix mutate fuel tank (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
enjinabner authored Sep 6, 2024
1 parent bdc3130 commit a791d63
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/GraphQL/Mutations/MutateFuelTankMutation.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,9 @@ public static function getEncodableParams(...$params): array
],
'mutation' => [
'userAccountManagement' => is_array($userAccount) ? ['NoMutation' => null] : ['SomeMutation' => $userAccount?->toEncodable()],
(isRunningLatest() ? 'coveragePolicy' : 'providesDeposit') => $providesDeposit,
...(isRunningLatest() ?
['coveragePolicy' => $providesDeposit ? 'Fees' : 'FeesAndDeposit'] :
['providesDeposit' => $providesDeposit]),
'accountRules' => $accountRules?->toEncodable(),
],
];
Expand Down

0 comments on commit a791d63

Please sign in to comment.