fix(offers): avoid Wayfinder report form name collision after safe deployment stop
tests / ci (push) Waiting to run
tests / ci (push) Waiting to run
This commit is contained in:
@@ -22,7 +22,7 @@ final class PrivateOfferOperationsController extends Controller
|
||||
return response()->json($operations->presentation($request->user(), $id));
|
||||
}
|
||||
|
||||
public function reportForm(Request $request, int $id, PrivateOfferOperations $operations): Response
|
||||
public function reportPage(Request $request, int $id, PrivateOfferOperations $operations): Response
|
||||
{
|
||||
$record = Opportunity::findOrFail($id);
|
||||
abort_unless($record->isPrivateOfferPreparation() && $operations->canReport($request->user(), $record), 404);
|
||||
|
||||
Reference in New Issue
Block a user