mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +08:00
fix filament resource notify
This commit is contained in:
@@ -28,9 +28,9 @@ class ListAgentAllows extends PageList
|
||||
$agentAllowRep = new AgentAllowRepository();
|
||||
try {
|
||||
$result = $agentAllowRep->checkClient($data['peer_id'], $data['agent']);
|
||||
$this->notify('success', __('admin.resources.agent_allow.check_pass_msg', ['id' => $result->id]));
|
||||
send_admin_success_notification(__('admin.resources.agent_allow.check_pass_msg', ['id' => $result->id]));
|
||||
} catch (\Exception $exception) {
|
||||
$this->notify('danger', $exception->getMessage());
|
||||
send_admin_fail_notification($exception->getMessage());
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user