solve bug on ApproveIdentificationDocumentLogic

This commit is contained in:
edmondlang
2022-04-20 23:43:55 +08:00
parent b9760d8739
commit f18d579495
@@ -102,10 +102,6 @@ class ApproveIdentificationDocumentLogic extends AbstractControllerLogic
$this->createNotificationProcessor->execute($object);
if($status === 'approve'){
$orders = $this->updatesOrdersStatus->execute($document->owner, ApprovalStatus::APPROVED);
}
return $this->resourceResponse(new DocumentResource($document));
}