Browse Source

[+Elisa] #228 Add new decidim api url

Jordi Coscolla 1 year ago
parent
commit
457e278aff

+ 1 - 1
apps/petitions/decode-app/data/petitions.json

@@ -6,7 +6,7 @@
6 6
     "closingDate": "2018-12-28",
7 7
     "submittedTo": "Ayuntamiento de Barcelona",
8 8
     "createdBy": "Citizens for Data",
9
-    "id": "40",
9
+    "id": "1",
10 10
     "cs_id": null,
11 11
     "images": {
12 12
       "square": "images/square-city-red.png",

+ 2 - 2
apps/petitions/petitions-app/src/components/PetitionDetails.jsx

@@ -72,10 +72,10 @@ const handleErrors = (response) => {
72 72
 class PetitionDetails extends Component {
73 73
   static renderSignButton(petitionLink, id) {
74 74
     return (<div>
75
-      <AppLink href={`${expoLink}&mobile=true&petitionLink=${petitionLink}&decidimAPIUrl=https://meta.decidim.org/api&petitionId=${id}`}>
75
+      <AppLink href={`${expoLink}&mobile=true&petitionLink=${petitionLink}&decidimAPIUrl=https://betadddc.alabs.org/api&petitionId=${id}`}>
76 76
         <SignPetitionButton1>Sign with Expo<image src="" /></SignPetitionButton1>
77 77
       </AppLink>
78
-      <AppLink href={`${walletLink}&mobile=true&petitionLink=${petitionLink}&decidimAPIUrl=https://meta.decidim.org/api&petitionId=${id}`}>
78
+      <AppLink href={`${walletLink}&mobile=true&petitionLink=${petitionLink}&decidimAPIUrl=https://betadddc.alabs.org/api&petitionId=${id}`}>
79 79
         <SignPetitionButton1>Sign with Decode App<image src="" /></SignPetitionButton1>
80 80
       </AppLink>
81 81
     </div>);