fix: 이미지 대체 시 원본 사용자 아이템 정보 보존

This commit is contained in:
2026-04-06 11:03:32 +09:00
parent c7cafb87c3
commit b134431d91
4 changed files with 17 additions and 4 deletions

View File

@@ -835,6 +835,7 @@ router.post('/custom-items/:itemId/replace', requireAdmin, async (req, res) => {
fromSrc: sourceItem.src,
toSrc: targetItem.src,
toLabel: targetItem.label || '',
updateCustomItemsBySrc: false,
})
await markCustomItemReplaced({
itemId: sourceItem.id,