Logging for Preview

This commit is contained in:
David Bomba 2021-08-05 21:50:53 +10:00
parent 435a0ffc23
commit 8c5100dbdc

View File

@ -203,6 +203,7 @@ class PreviewController extends BaseController
if($request->has('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)
->withTrashed()