Skip to content

Commit fa33463

Browse files
Resolved MAILGUN_URL API KEY "user" bug.
1 parent 91cee7f commit fa33463

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ Updates should follow the [Keep a CHANGELOG](https://keepachangelog.com/) princi
44

55
## [Unreleased][unreleased]
66

7+
## [0.1.16] - 2022-01-26
8+
9+
### Fixed
10+
11+
- Resolved `MAILGUN_URL` API KEY "user" bug.
12+
713
## [0.1.15] - 2022-01-25
814

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

115121
**Initial release!**
116122

117-
[unreleased]: https://github.com/unleashedtech/dotenv-drupal/compare/0.1.15...main
123+
[unreleased]: https://github.com/unleashedtech/dotenv-drupal/compare/0.1.16...main
124+
[0.1.16]: https://github.com/unleashedtech/dotenv-drupal/compare/0.1.15...0.1.16
118125
[0.1.15]: https://github.com/unleashedtech/dotenv-drupal/compare/0.1.14...0.1.15
119126
[0.1.14]: https://github.com/unleashedtech/dotenv-drupal/compare/0.1.13...0.1.14
120127
[0.1.13]: https://github.com/unleashedtech/dotenv-drupal/compare/0.1.12...0.1.13

src/Dotenv.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ public function getConfig(): array
166166
'scheme' => $parts['scheme'] ?? 'https',
167167
'host' => $parts['host'] ?? 'api.mailgun.net',
168168
]);
169-
$config['mailgun.settings']['api_key'] = $parts['name'] ?? 'key-1234567890abcdefghijklmnopqrstu';
169+
$config['mailgun.settings']['api_key'] = $parts['user'] ?? 'key-1234567890abcdefghijklmnopqrstu';
170170
}
171171

172172
// Configure Shield if enabled.

0 commit comments

Comments
 (0)