fix: remove unused effectiveMediaList variable
This commit is contained in:
parent
c1b1c76d03
commit
c0c2f81591
@ -498,7 +498,6 @@ export async function prepareSlackMessage(params: {
|
||||
}
|
||||
|
||||
// Use thread starter media if current message has none
|
||||
const effectiveMediaList = mediaList.length > 0 ? mediaList : threadStarterMediaList;
|
||||
const effectiveMediaPayload =
|
||||
mediaList.length > 0 ? mediaPayload : buildSlackMediaPayload(threadStarterMediaList);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user