Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
karissarjacobsen committed Apr 5, 2024
2 parents 82f0143 + 71d7fa1 commit 0e14b00
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Services/MaestroApiClientService.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,13 @@ public function __construct($args)
# Construct your API headers
# Exceptions will be caught by the calling function

#ds-snippet-start:MaestroPHPStep2
$basePath = "https://demo.services.docusign.net/";
$config = new Configuration();
$config->setHost($basePath);
$config->addDefaultHeader('Authorization', 'Bearer ' . $args['ds_access_token']);
$this->apiClient = new ApiClient($config);
#ds-snippet-end:MaestroPHPStep2

$this->accessToken = $args['ds_access_token']?? "";
$this->routerService = new RouterService();
Expand Down

0 comments on commit 0e14b00

Please sign in to comment.