Fix issue where flag was set wrong

This commit is contained in:
Tom Rogers 2024-10-30 23:23:11 +00:00
parent 593bac0408
commit d4710a899b

View file

@ -305,7 +305,7 @@ export const processFetchContentJob = async (
const savedDate = savedAt ? new Date(savedAt) : new Date()
const { finalUrl, title, content, contentType } = fetchResult
if (content && process.env['SKIP_UPLOAD_ORIGINAL'] === 'true') {
if (content && process.env['SKIP_UPLOAD_ORIGINAL'] !== 'true') {
await uploadOriginalContent(users, content, savedDate.getTime())
}