Skip to content

Commit

Permalink
Update Shipmondo library
Browse files Browse the repository at this point in the history
  • Loading branch information
loevgaard committed Mar 22, 2024
1 parent 1337a9b commit b42cb7d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"ocramius/doctrine-batch-utils": "^2.4",
"psr/event-dispatcher": "^1.0",
"setono/doctrine-object-manager-trait": "^1.1",
"setono/shipmondo-php-sdk": "dev-master",
"setono/shipmondo-php-sdk": "^1.0@alpha",
"sylius/core": "^1.0",
"sylius/core-bundle": "^1.0",
"sylius/grid-bundle": "^1.0",
Expand Down
2 changes: 1 addition & 1 deletion src/Registrar/WebhookRegistrar.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function register(): void
[
'type' => 'shipmondo',
'resource' => u($resource)->snake()->toString(),
'action' => $action
'action' => $action,
],
UrlGeneratorInterface::ABSOLUTE_URL,
),
Expand Down
4 changes: 4 additions & 0 deletions src/Resources/config/services/client.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
class="Setono\Shipmondo\Client\Client">
<argument>%setono_sylius_shipmondo.api.username%</argument>
<argument>%setono_sylius_shipmondo.api.key%</argument>

<call method="setLogger">
<argument type="service" id="logger"/>
</call>
</service>
</services>
</container>

0 comments on commit b42cb7d

Please sign in to comment.