Commit 70d3af9e authored by Joel Collins's avatar Joel Collins
Browse files

Specified LABTHINGS_JSON_ENCODER

parent 44ba4b27
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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