🔧 ActivityLogger 호출 제거
Some checks failed
SonarQube Analysis / SonarQube Scan (push) Has been cancelled
Some checks failed
SonarQube Analysis / SonarQube Scan (push) Has been cancelled
- log_activity() 파라미터 오류로 임시 제거 - TODO로 표시하여 추후 올바른 방식으로 구현 - 프로젝트 생성/수정 기능은 정상 작동
This commit is contained in:
@@ -469,15 +469,8 @@ async def create_project(
|
|||||||
|
|
||||||
db.commit()
|
db.commit()
|
||||||
|
|
||||||
# 활동 로그 기록
|
# TODO: 활동 로그 기록 (추후 구현)
|
||||||
ActivityLogger.log_activity(
|
# ActivityLogger 사용법 확인 필요
|
||||||
db=db,
|
|
||||||
user_id=current_user.get('user_id'),
|
|
||||||
action="CREATE_PROJECT",
|
|
||||||
target_type="PROJECT",
|
|
||||||
target_id=new_project.id,
|
|
||||||
details=f"프로젝트 생성: {official_project_code} - {project_name}"
|
|
||||||
)
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
"success": True,
|
"success": True,
|
||||||
@@ -595,15 +588,7 @@ async def update_project_name(
|
|||||||
|
|
||||||
db.commit()
|
db.commit()
|
||||||
|
|
||||||
# 활동 로그 기록
|
# TODO: 활동 로그 기록 (추후 구현)
|
||||||
ActivityLogger.log_activity(
|
|
||||||
db=db,
|
|
||||||
user_id=current_user.get('user_id'),
|
|
||||||
action="UPDATE_PROJECT",
|
|
||||||
target_type="PROJECT",
|
|
||||||
target_id=project_id,
|
|
||||||
details=f"프로젝트 이름 변경: {job_name}"
|
|
||||||
)
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
"success": True,
|
"success": True,
|
||||||
|
|||||||
Reference in New Issue
Block a user