dev@locazia: fix content json_format time
This commit is contained in:
1 parent
ebe0d149e0
commit
1933ddea26
2 files changed
+3
-3
No files matched your search
@@ -70,6 +70,6 @@ class StoredContent(AlchemyBase):
|
||||
"hash": self.hash,
|
||||
"cid": self.cid.serialize_v1(),
|
||||
"status": self.status,
|
||||
"updated": self.updated,
|
||||
"created": self.created,
|
||||
"updated": self.updated.isoformat(),
|
||||
"created": self.created.isoformat(),
|
||||
}
|
||||
+1
-1
@@ -8,7 +8,7 @@ from sqlalchemy.sql import text
|
||||
from app.core._config import MYSQL_URI, MYSQL_DATABASE
|
||||
from app.core.logger import make_log
|
||||
|
||||
engine = create_engine(MYSQL_URI, echo=True)
|
||||
engine = create_engine(MYSQL_URI) #, echo=True)
|
||||
Session = sessionmaker(bind=engine)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user