Orlando04 2 лет назад
Родитель
Сommit
7e68d256c4
2 измененных файлов: 2 добавлений и 2 удалений
  1. 1
    1
      MocionesIUPI/screens/HomeScreen.js
  2. 1
    1
      MocionesIUPI/screens/MocionScreen.js

+ 1
- 1
MocionesIUPI/screens/HomeScreen.js Просмотреть файл

9
     // this connects us to the API and fetches the json file with the mociones
9
     // this connects us to the API and fetches the json file with the mociones
10
     const getMociones = async () => {
10
     const getMociones = async () => {
11
        try {
11
        try {
12
-        const response = await fetch('http://192.168.1.200:5000/send?PIN=121071'); // connection to the website 
12
+        const response = await fetch('http://192.168.1.200:5000/send?PIN=613382'); // connection to the website 
13
         const json = await response.json();
13
         const json = await response.json();
14
   
14
   
15
         // setting the content of each category 
15
         // setting the content of each category 

+ 1
- 1
MocionesIUPI/screens/MocionScreen.js Просмотреть файл

11
       // this connects us to the API and fetches the json file with the mociones
11
       // this connects us to the API and fetches the json file with the mociones
12
       const getMociones = async () => {
12
       const getMociones = async () => {
13
         try {
13
         try {
14
-         const response = await fetch('http://192.168.1.200:5000/send?PIN=121071'); // connection to the website 
14
+         const response = await fetch('http://192.168.1.200:5000/send?PIN=613382'); // connection to the website 
15
          const json = await response.json();
15
          const json = await response.json();
16
    
16
    
17
          // setting the content of each category 
17
          // setting the content of each category