Updated setting LabThings JSON encoder
This commit is contained in:
parent
9f61935cf4
commit
c8c66803e5
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ app, labthing = create_app(
|
|||
cors = CORS(app)
|
||||
|
||||
# Use custom JSON encoder
|
||||
app.config['LABTHINGS_JSON_ENCODER'] = JSONEncoder
|
||||
labthing.json_encoder = JSONEncoder
|
||||
app.json_encoder = JSONEncoder
|
||||
|
||||
# Attach lab devices
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue