Merge branch 'RM2_develop' into qyqy_develop
This commit is contained in:
@@ -9,6 +9,7 @@ from __future__ import annotations
|
||||
import io
|
||||
import os
|
||||
import re
|
||||
from datetime import UTC, datetime
|
||||
from hashlib import sha256
|
||||
from pathlib import Path
|
||||
from uuid import uuid4
|
||||
@@ -129,6 +130,7 @@ class RiskEvidenceArchiveService:
|
||||
"file_size": len(content),
|
||||
"sha256": sha256(content).hexdigest(),
|
||||
},
|
||||
created_at=datetime.now(UTC).replace(tzinfo=None),
|
||||
))
|
||||
await self.session.commit()
|
||||
committed = True
|
||||
|
||||
Reference in New Issue
Block a user