chore: object shorthand linting rule (#12152)

chore: object shorthand
This commit is contained in:
Jason Rasmussen 2024-08-30 14:38:53 -04:00 committed by GitHub
parent 40854f358c
commit 5e6ac87eaf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
23 changed files with 30 additions and 28 deletions

View file

@ -339,7 +339,7 @@ export class LibraryService {
const libraryId = job.id;
const assetPagination = usePagination(JOBS_LIBRARY_PAGINATION_SIZE, (pagination) =>
this.assetRepository.getAll(pagination, { libraryId: libraryId, withDeleted: true }),
this.assetRepository.getAll(pagination, { libraryId, withDeleted: true }),
);
let assetsFound = false;
@ -465,7 +465,7 @@ export class LibraryService {
libraryId: job.id,
checksum: pathHash,
originalPath: assetPath,
deviceAssetId: deviceAssetId,
deviceAssetId,
deviceId: 'Library Import',
fileCreatedAt: stats.mtime,
fileModifiedAt: stats.mtime,