From 2a42a1c02ec6586b9d933b700d1f7a8ea14e8a4b Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Mon, 19 Aug 2019 19:06:22 -0600 Subject: [PATCH] Update BaseApiController --- app/Http/Controllers/Api/BaseApiController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Api/BaseApiController.php b/app/Http/Controllers/Api/BaseApiController.php index 49128739..eb92a180 100644 --- a/app/Http/Controllers/Api/BaseApiController.php +++ b/app/Http/Controllers/Api/BaseApiController.php @@ -227,7 +227,7 @@ class BaseApiController extends Controller } $monthHash = hash('sha1', date('Y').date('m')); - $userHash = hash('sha1', $user->id.(string) $user->created_at); + $userHash = hash('sha1', $user->id . (string) $user->created_at); $photo = $request->file('file');