mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-10 19:51:07 +03:30
...
This commit is contained in:
@@ -320,7 +320,7 @@ class TestResultController extends Controller
|
||||
public function verifyTestResult(TestResult $TestResult, $Value)
|
||||
{
|
||||
if (auth('api')->user()->cant('verifyTestResult', $TestResult)) {
|
||||
return MessageResponse::error(trans('You dont have permission or this test result belongs to another medical center'));
|
||||
return MessageResponse::error('messages.access_denied');
|
||||
}
|
||||
|
||||
$TestResult->verified = $Value;
|
||||
|
||||
Reference in New Issue
Block a user