Skip to content

Commit

Permalink
fix: filename ext repetition
Browse files Browse the repository at this point in the history
  • Loading branch information
yatharthagoenka committed Jan 13, 2024
1 parent 584dc9f commit fe515bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/files/files.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export class FilesService {
role: IRole.OWNER
}
const createFileDTO : IFile = {
originalname: `${savedFile.originalname}${savedFile.extension}`,
originalname: `${savedFile.originalname}`,
uuid: `${savedFile.uuid}`,
rsa_priv_base64: `${rsa_priv_base64}`,
size: fileSize,
Expand Down

0 comments on commit fe515bc

Please sign in to comment.