Browse Source

checking for other mociones

Orlando04 2 years ago
parent
commit
7e68d256c4
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      MocionesIUPI/screens/HomeScreen.js
  2. 1
    1
      MocionesIUPI/screens/MocionScreen.js

+ 1
- 1
MocionesIUPI/screens/HomeScreen.js View File

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 View File

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