fix: 이미지 대체 시 원본 사용자 아이템 정보 보존
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user