Specified LABTHINGS_JSON_ENCODER

This commit is contained in:
Joel Collins 2020-06-23 13:48:29 +01:00
parent 44ba4b272c
commit 70d3af9edb

View file

@ -92,6 +92,7 @@ app, labthing = create_app(
cors = CORS(app)
# Use custom JSON encoder
app.config['LABTHINGS_JSON_ENCODER'] = JSONEncoder
app.json_encoder = JSONEncoder
# Attach lab devices