Soft delete : GWM
This commit is contained in:
parent
34d8283bd0
commit
d50f286e64
@ -1321,7 +1321,7 @@ class PolicyController extends ResourceController
|
|||||||
public function softdelete()
|
public function softdelete()
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
$policyId = (int) $this->request->getPost('policy_id');
|
$policyId = (int) $this->request->getGet('policy_id');
|
||||||
|
|
||||||
if (!$policyId) {
|
if (!$policyId) {
|
||||||
return $this->respond([
|
return $this->respond([
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user