Merge pull request #6397 from turbo124/v5-develop

Logging for Preview
This commit is contained in:
David Bomba 2021-08-05 21:51:10 +10:00 committed by GitHub
commit 83456a6016
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -203,6 +203,7 @@ class PreviewController extends BaseController
if($request->has('entity_id')){ if($request->has('entity_id')){
info("trying to find entity id = " . $this->decodePrimaryKey($request->input('entity_id'))); info("trying to find entity id = " . $this->decodePrimaryKey($request->input('entity_id')));
info("company id = " . auth()->user()->company()->id);
$entity_obj = $class::on(auth()->user()->company()->db) $entity_obj = $class::on(auth()->user()->company()->db)
->withTrashed() ->withTrashed()