Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LimberHope committed May 10, 2024
1 parent ec42258 commit 02ecb8f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ public function __invoke(Request $request, string $id = null)

return new AuditStatusResource($auditStatus);
} else if ($request->has('entity') && $request->has('uuid')) {
$auditStatus = AuditStatus::where('entity_uuid', $request->input('entity'))
->where('uuid', $request->input('uuid'))
$auditStatus = AuditStatus::where('entity', $request->input('entity'))
->where('entity_uuid', $request->input('uuid'))
->orderBy('updated_at', 'desc')
->orderBy('created_at', 'desc')
->get();
Expand Down

0 comments on commit 02ecb8f

Please sign in to comment.