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

refactor(server): stack owner (#10900)

This commit is contained in:
Jason Rasmussen
2024-07-05 16:16:53 -04:00
committed by GitHub
parent f6cafa3290
commit e1f25b44d2
14 changed files with 46 additions and 34 deletions

View File

@@ -10,6 +10,8 @@ export const stackStub = (stackId: string, assets: AssetEntity[]): StackEntity =
return {
id: stackId,
assets: assets,
owner: assets[0].owner,
ownerId: assets[0].ownerId,
primaryAsset: assets[0],
primaryAssetId: assets[0].id,
};