improved tenant identification
This commit is contained in:
		| @@ -60,7 +60,7 @@ class DeleteDashboard extends Job | ||||
|         } | ||||
|  | ||||
|         // Check if user can access dashboard | ||||
|         if (!$this->isUserDashboard($this->dashboard->id)) { | ||||
|         if ($this->isNotUserDashboard($this->dashboard->id)) { | ||||
|             $message = trans('dashboards.error.not_user_dashboard'); | ||||
|  | ||||
|             throw new \Exception($message); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user