Skip to content

Commit

Permalink
Merge pull request #10 from CIAT-DAPA/develop
Browse files Browse the repository at this point in the history
added some changes
  • Loading branch information
CarlosNasayo authored Sep 18, 2023
2 parents 1384915 + 936fd0a commit e9bd4b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/api_modules/waterpoint_profiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ def get(self, waterpoints=None,language=None):
adm1 = Adm1.objects.get(id=adminlevel1id)

wp_contents = Wpcontent.objects(waterpoint=str(waterpoint.id),
content__trace__enable=True)
content__trace__enabled=True)
ws_contents = Wscontent.objects(watershed=str(waterpoint.watershed.id),
content__trace__enable=True)
content__trace__enabled=True)
ids=[]
typecontent_name=[]
for i in wp_contents:
Expand Down
2 changes: 1 addition & 1 deletion src/wpapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

# Define tus endpoints en el orden deseado

@app.route('/api/v1/home')
@app.route('/')
def home():
return redirect("/apidocs")

Expand Down

0 comments on commit e9bd4b3

Please sign in to comment.