소스 검색

fix: update account profile (#25150)

tags/2.0.0-beta.2^2
Will 1 개월 전
부모
커밋
d36ce782b7
No account linked to committer's email address
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1
    0
      api/services/account_service.py

+ 1
- 0
api/services/account_service.py 파일 보기

@@ -351,6 +351,7 @@ class AccountService:
@staticmethod
def update_account(account, **kwargs):
"""Update account fields"""
account = db.session.merge(account)
for field, value in kwargs.items():
if hasattr(account, field):
setattr(account, field, value)

Loading…
취소
저장