From 425b69c60090f2f8d4f897a059fa68e910a74aa1 Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Tue, 11 Feb 2020 12:02:24 -0500
Subject: [PATCH] Fix whitespace.

---
 module/VuFind/src/VuFind/ILS/Driver/Folio.php | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/module/VuFind/src/VuFind/ILS/Driver/Folio.php b/module/VuFind/src/VuFind/ILS/Driver/Folio.php
index 24671303de9..5dae53d85ea 100644
--- a/module/VuFind/src/VuFind/ILS/Driver/Folio.php
+++ b/module/VuFind/src/VuFind/ILS/Driver/Folio.php
@@ -466,14 +466,14 @@ class Folio extends AbstractAPI implements
             throw new ILSException("User not found");
         }
         $profile = $json->users[0];
-            $credentials = [
+        $credentials = [
                 'userId' => $profile->id,
                 'username' => $username,
                 'password' => $password,
             ];
-            // Get token
-            try {
-                $response = $this->makeRequest(
+        // Get token
+        try {
+            $response = $this->makeRequest(
                     'POST',
                     '/authn/login',
                     json_encode($credentials)
@@ -481,11 +481,11 @@ class Folio extends AbstractAPI implements
             // Replace admin with user as tenant
             $this->token = $response->getHeaders()->get('X-Okapi-Token')
                     ->getFieldValue();
-                $this->debug(
+            $this->debug(
                     'User logged in. User: ' . $username . '.' .
                 ' Token: ' . substr($this->token, 0, 30) . '...'
                 );
-        return [
+            return [
             'id' => $profile->id,
             'username' => $username,
             'cat_username' => $username,
-- 
GitLab