fix: remove unused effectiveMediaList variable

This commit is contained in:
Bruno Santos 2026-01-28 08:19:57 +00:00
parent c1b1c76d03
commit c0c2f81591

View File

@ -498,7 +498,6 @@ export async function prepareSlackMessage(params: {
} }
// Use thread starter media if current message has none // Use thread starter media if current message has none
const effectiveMediaList = mediaList.length > 0 ? mediaList : threadStarterMediaList;
const effectiveMediaPayload = const effectiveMediaPayload =
mediaList.length > 0 ? mediaPayload : buildSlackMediaPayload(threadStarterMediaList); mediaList.length > 0 ? mediaPayload : buildSlackMediaPayload(threadStarterMediaList);