Skip to content

Commit

Permalink
Fix JSON provider init
Browse files Browse the repository at this point in the history
  • Loading branch information
devdupont committed Oct 30, 2023
1 parent 16111c4 commit e6ef3f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion avwx_api/app_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@
MONGO_URI = environ.get("MONGO_URI")


Pint.json_provider_class = CustomJSONProvider
app = Pint(__name__)
app.json_provider_class = CustomJSONProvider

app.after_request(add_cors)


Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
git+https://github.com/avwx-rest/avwx-api-core@e7777ef6101ccb90a1a5ee1041f56ae7d2aeeb54
git+https://github.com/avwx-rest/avwx-api-core@116f1a5dbe44a7359301abe43f3a03939df88cbc

avwx-engine[all]==1.8.25
hypercorn~=0.15
Expand Down

0 comments on commit e6ef3f5

Please sign in to comment.