Skip to content

Commit 32b013e

Browse files
authored
Merge pull request #596 from PolicyEngine/fix/re-enable-analytics
Re-enable analytics logging
2 parents 8b1cb8e + f4d9759 commit 32b013e

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

changelog_entry.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
- bump: patch
2+
changes:
3+
added:
4+
- Re-enabled automated analytics logging of calculate endpoint

policyengine_household_api/api.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ class Base(DeclarativeBase):
7676

7777
@app.route("/<country_id>/calculate", methods=["POST"])
7878
@require_auth(None)
79+
@log_analytics
7980
def calculate(country_id):
8081
return get_calculate(country_id)
8182

0 commit comments

Comments
 (0)