Skip to content

Commit

Permalink
fix last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
tomahock committed Dec 18, 2023
1 parent b6cbcf1 commit 853a9ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/IncidentController.php
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ public function search(IncidentSearchRequest $request): JsonResponse
})->when($isFMA, function ($query, $isFMA){
return $query->isFMA();
})->when($naturezaCode, function ($query, $naturezaCode){
return $query->where('naturezaCode', $naturezaCode);
return $query->where('naturezaCode', (string)$naturezaCode);
})
->paginate($limit);

Expand Down

0 comments on commit 853a9ad

Please sign in to comment.