`downloadFilesForChannel` not downloading files for channel
Closed this issue · 1 comments
cheapsteak commented
For one of my channels that has messages and files, no files were being downloaded
Upon inspection, the results of getMessages
is always an empty array
Looking at how downloadMessages
runs, it's only after paginating through the pagination loop
slack-archive/src/download-messages.ts
Lines 125 to 142 in a0c7ae8
cheapsteak commented
ah, getMessages
fetches messages from the downloaded JSON file, and when downloadFilesForChannel
runs, the file doesn't exist yet