릴리스: v1.4.23 레거시 game 별칭 추가 정리

This commit is contained in:
2026-04-02 20:33:59 +09:00
parent 75a3822502
commit 6a8d4ddabd
7 changed files with 19 additions and 32 deletions

View File

@@ -262,9 +262,7 @@ router.post('/template-request', requireAuth, async (req, res) => {
type: payload.type,
requesterId: req.session.userId,
sourceTierListId: sourceTierList?.id || '',
sourceGameId: topicId,
sourceTopicId: topicId,
targetGameId: payload.type === 'update' ? topicId : '',
targetTopicId: payload.type === 'update' ? topicId : '',
title: payload.requestTitle,
description: payload.requestDescription,
@@ -298,7 +296,6 @@ router.post('/', requireAuth, async (req, res) => {
const updated = await saveTierList({
id: existing.id,
authorId: existing.authorId,
gameId: existing.topicId || existing.gameId,
topicId: existing.topicId || existing.gameId,
title: payload.title,
thumbnailSrc: payload.thumbnailSrc || '',
@@ -318,7 +315,6 @@ router.post('/', requireAuth, async (req, res) => {
const created = await saveTierList({
id: nanoid(),
authorId: req.session.userId,
gameId: topicId,
topicId,
title: payload.title,
thumbnailSrc: payload.thumbnailSrc || '',