Merge pull request #8 from nightbug-xx/codex/중복-코드-제거

Fix duplicate order assignment
This commit is contained in:
nightbug-xx 2025-06-09 18:10:29 +09:00 committed by GitHub
commit cb53873952
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -118,7 +118,6 @@ def update_character_order(
for update in updates:
character = db.query(Character).filter_by(id=update.id, user_id=user.id).first()
if character:
character.order = update.order
character.order = update.order
db.add(character)
db.commit()