1
0
mirror of https://github.com/immich-app/immich.git synced 2025-08-10 23:22:22 +02:00

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
23 changed files with 30 additions and 28 deletions

View File

@@ -31,7 +31,7 @@ const files: AssetFileEntity[] = [previewFile, thumbnailFile];
export const stackStub = (stackId: string, assets: AssetEntity[]): StackEntity => {
return {
id: stackId,
assets: assets,
assets,
owner: assets[0].owner,
ownerId: assets[0].ownerId,
primaryAsset: assets[0],