Skip to content

Commit 9cbfa1f

Browse files
committed
Fix: Problema de marcado de URL a Recetario Controller
1 parent 1774761 commit 9cbfa1f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Frontend/app/Http/Controllers/Inventario/RecetasController.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
use App\Services\Productos\ProductoService;
88
use Illuminate\Http\Request;
99
use Illuminate\Support\Facades\Http;
10+
use Illuminate\Support\Facades\Log;
1011

1112
class RecetasController extends Controller
1213
{
@@ -25,7 +26,7 @@ public function index()
2526
$productos = $this->productosService->obtenerProductos();
2627

2728
try {
28-
$responseIng = Http::get('http:http://44.195.189.38:8080/recetas/lista-modal');
29+
$responseIng = Http::get('http://44.195.189.38:8080/recetas/lista-modal');
2930
$ingredientesParaModal = $responseIng->successful() ? $responseIng->json() : [];
3031
} catch (\Exception $e) {
3132
$ingredientesParaModal = [];

0 commit comments

Comments
 (0)