Update BaseApiController

This commit is contained in:
Daniel Supernault 2019-08-19 19:06:22 -06:00
parent 820233adb1
commit 2a42a1c02e
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -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');