forked from p15670423/monkey
Island: Use python json encoder instead of flask
Flask json acts strange and doesn't trigger the "default" method when it encounters CredentialTypeEnum, even though it can't serialize it
This commit is contained in:
parent
eb6b06e6a2
commit
4f6500ad83
|
@ -5,7 +5,7 @@ from typing import Any
|
|||
|
||||
import bson
|
||||
from flask import make_response
|
||||
from flask.json import JSONEncoder, dumps
|
||||
from json import JSONEncoder, dumps
|
||||
|
||||
from common.utils import IJSONSerializable
|
||||
|
||||
|
|
Loading…
Reference in New Issue