remove redundant code
This commit is contained in:
parent
84617a3267
commit
0c23ace8ff
|
@ -6,21 +6,11 @@ import {
|
||||||
updateExistingFilePubMetadata,
|
updateExistingFilePubMetadata,
|
||||||
} from 'utils/file';
|
} from 'utils/file';
|
||||||
import { logError } from 'utils/sentry';
|
import { logError } from 'utils/sentry';
|
||||||
import localForage from 'utils/storage/localForage';
|
|
||||||
import downloadManager from './downloadManager';
|
import downloadManager from './downloadManager';
|
||||||
import { File, FILE_TYPE, updatePublicMagicMetadata } from './fileService';
|
import { File, FILE_TYPE, updatePublicMagicMetadata } from './fileService';
|
||||||
import { getExifData } from './upload/exifService';
|
import { getExifData } from './upload/exifService';
|
||||||
import { getFileType } from './upload/readFileService';
|
import { getFileType } from './upload/readFileService';
|
||||||
|
|
||||||
const CREATION_TIME_UPDATED_FILES_TABLE = 'creation-time-updated-file-table';
|
|
||||||
|
|
||||||
export async function setCreationTimeUpdatedFiles(creationTimeUpdatedFiles) {
|
|
||||||
return await localForage.setItem<number[]>(
|
|
||||||
CREATION_TIME_UPDATED_FILES_TABLE,
|
|
||||||
creationTimeUpdatedFiles
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
export async function updateCreationTimeWithExif(
|
export async function updateCreationTimeWithExif(
|
||||||
filesToBeUpdated: File[],
|
filesToBeUpdated: File[],
|
||||||
setProgressTracker: SetProgressTracker
|
setProgressTracker: SetProgressTracker
|
||||||
|
|
Loading…
Reference in a new issue