Skip to content

Commit

Permalink
Merge pull request #54 from 2Swon/main
Browse files Browse the repository at this point in the history
error fix
  • Loading branch information
2Swon authored Feb 16, 2024
2 parents c6f69ef + 0595924 commit 3e9029b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
5 changes: 1 addition & 4 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion app/api/api_v1/endpoints/gree.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,6 @@ async def create_and_upload_assets(
# 파일 다운로드 및 저장 경로 설정
base_path = 'animation/char7'
os.makedirs(base_path, exist_ok=True) # 디렉토리가 없으면 생성
print('1')

# YAML 파일 다운로드 및 저장
yaml_file_path = os.path.join(base_path, 'char_cfg.yaml')
Expand Down
2 changes: 1 addition & 1 deletion app/crud/crud_gree.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ async def crud_get_grees(db: AsyncSession, user_id: int) -> List[GreeModel]:
query = select(GreeModel).filter(GreeModel.member_id == user_id, GreeModel.status == "activate")
result = await session.execute(query)
grees = result.scalars().all()
return greesx
return grees


async def crud_get_gree_by_id(db: AsyncSession, gree_id: int, user_id: int) -> GreeModel:
Expand Down

0 comments on commit 3e9029b

Please sign in to comment.