Commit b53ea1f4 authored by Josh Miller's avatar Josh Miller Committed by Marcelo Vani
Browse files

Issue #2787145 by joshmiller, hideaway: Configuration misnamed, causing exceptions to be thrown

parent 95b2ad96
Loading
Loading
Loading
Loading
+2 −2
Changes for src/Amazon.php: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -85,7 +85,7 @@ class Amazon {

    // If not, use Drupal config variables. (Automatically handles overrides
    // in settings.php.)
    $secret = \Drupal::config('amazon.configuration')->get('access_secret');
    $secret = \Drupal::config('amazon.settings')->get('access_secret');
    if ($secret) {
      return $secret;
    }
@@ -108,7 +108,7 @@ class Amazon {

    // If not, use Drupal config variables. (Automatically handles overrides
    // in settings.php.)
    $key = \Drupal::config('amazon.configuration')->get('access_key');
    $key = \Drupal::config('amazon.settings')->get('access_key');
    if ($key) {
      return $key;
    }