Skip to content

Commit

Permalink
Update Campana.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
sebaav12 authored Nov 7, 2024
1 parent 1801f01 commit 2a1a4f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Campana.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const Campana = () => {

useEffect(() => {
if (isOpen && notificaciones.length === 0) {
fetch('http://localhost:8000/onesignal/notificaciones/')
fetch('https://api.georent.cl/onesignal/notificaciones/')
.then((response) => response.json())
.then((data) => setNotificaciones(data))
.catch((error) => console.error('Error fetching notifications:', error));
Expand Down

0 comments on commit 2a1a4f7

Please sign in to comment.