mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-10-29 17:40:28 +00:00
fix(web) show exif info in public shared (#1283)
* fix(web) show exif in public share page * Added exif info to return payload'
This commit is contained in:
@@ -48,7 +48,7 @@ export class ShareCore {
|
||||
|
||||
async getSharedLinkById(id: string): Promise<SharedLinkEntity> {
|
||||
const link = await this.sharedLinkRepository.getById(id);
|
||||
|
||||
console.log(link);
|
||||
if (!link) {
|
||||
throw new BadRequestException('Shared link not found');
|
||||
}
|
||||
|
||||
@@ -57,10 +57,14 @@ export class SharedLinkRepository implements ISharedLinkRepository {
|
||||
id: id,
|
||||
},
|
||||
relations: {
|
||||
assets: true,
|
||||
assets: {
|
||||
exifInfo: true,
|
||||
},
|
||||
album: {
|
||||
assets: {
|
||||
assetInfo: true,
|
||||
assetInfo: {
|
||||
exifInfo: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user