mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
fix(server): use extension in originalFileName for libraries (#8083)
* use file base * fix: test * fix: e2e-job tests --------- Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
This commit is contained in:
parent
f908bd4a64
commit
e6f2bb9f89
3 changed files with 11 additions and 11 deletions
|
|
@ -511,7 +511,7 @@ export class LibraryService extends EventEmitter {
|
|||
fileModifiedAt: stats.mtime,
|
||||
localDateTime: stats.mtime,
|
||||
type: assetType,
|
||||
originalFileName: parse(assetPath).name,
|
||||
originalFileName: parse(assetPath).base,
|
||||
sidecarPath,
|
||||
isReadOnly: true,
|
||||
isExternal: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue