Skip to content

Commit

Permalink
Resolved MAILGUN_URL API KEY "user" bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
dl-unleashed-technologies committed Jan 26, 2022
1 parent 91cee7f commit fa33463
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ Updates should follow the [Keep a CHANGELOG](https://keepachangelog.com/) princi

## [Unreleased][unreleased]

## [0.1.16] - 2022-01-26

### Fixed

- Resolved `MAILGUN_URL` API KEY "user" bug.

## [0.1.15] - 2022-01-25

### Changed
Expand Down Expand Up @@ -114,7 +120,8 @@ Updates should follow the [Keep a CHANGELOG](https://keepachangelog.com/) princi

**Initial release!**

[unreleased]: https://github.com/unleashedtech/dotenv-drupal/compare/0.1.15...main
[unreleased]: https://github.com/unleashedtech/dotenv-drupal/compare/0.1.16...main
[0.1.16]: https://github.com/unleashedtech/dotenv-drupal/compare/0.1.15...0.1.16
[0.1.15]: https://github.com/unleashedtech/dotenv-drupal/compare/0.1.14...0.1.15
[0.1.14]: https://github.com/unleashedtech/dotenv-drupal/compare/0.1.13...0.1.14
[0.1.13]: https://github.com/unleashedtech/dotenv-drupal/compare/0.1.12...0.1.13
Expand Down
2 changes: 1 addition & 1 deletion src/Dotenv.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ public function getConfig(): array
'scheme' => $parts['scheme'] ?? 'https',
'host' => $parts['host'] ?? 'api.mailgun.net',
]);
$config['mailgun.settings']['api_key'] = $parts['name'] ?? 'key-1234567890abcdefghijklmnopqrstu';
$config['mailgun.settings']['api_key'] = $parts['user'] ?? 'key-1234567890abcdefghijklmnopqrstu';
}

// Configure Shield if enabled.
Expand Down

0 comments on commit fa33463

Please sign in to comment.