Skip to content
Snippets Groups Projects
Commit 616c2b52 authored by David Trattnig's avatar David Trattnig
Browse files

chore: replace deprecated JSON encoder

parent 3cafeeca
No related branches found
No related tags found
1 merge request!4Update all API to return attributes / properties in camelCase notation
......@@ -13,7 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
- ...
- Replace deprecated JSON encoder (#35)
### Deprecated
......
......@@ -27,7 +27,6 @@ from aura_engine_api.base.config import AuraConfig
from aura_engine_api.base.logger import AuraLogger
from aura_engine_api.base.node import NodeType
from aura_engine_api.models import db, ma
from aura_engine_api.rest import encoder
from aura_engine_api.service import ApiService
from aura_engine_api.sync import SyncJob
......@@ -49,7 +48,6 @@ sync_job = None
def build_app(app):
app.json_encoder = encoder.JSONEncoder
app.config["SQLALCHEMY_DATABASE_URI"] = config.get_database_uri()
app.config["SQLALCHEMY_TRACK_MODIFICATIONS"] = False
app.config["ENV"] = "development"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment