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:
vakarisz 2022-08-08 15:41:45 +03:00
parent eb6b06e6a2
commit 4f6500ad83
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ from typing import Any
import bson import bson
from flask import make_response from flask import make_response
from flask.json import JSONEncoder, dumps from json import JSONEncoder, dumps
from common.utils import IJSONSerializable from common.utils import IJSONSerializable