mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
refactor(server): stack owner (#10900)
This commit is contained in:
parent
f6cafa3290
commit
e1f25b44d2
14 changed files with 46 additions and 34 deletions
|
|
@ -219,6 +219,7 @@ export class AssetService {
|
|||
} else {
|
||||
stack = await this.stackRepository.create({
|
||||
primaryAssetId: primaryAsset.id,
|
||||
ownerId: primaryAsset.ownerId,
|
||||
assets: ids.map((id) => ({ id }) as AssetEntity),
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue