Skip to content

Commit

Permalink
Merge pull request #2024 from plecrx/patch-1
Browse files Browse the repository at this point in the history
fix(storage-controller): rm duplicate userID & use correct filename parameter
  • Loading branch information
AmruthPillai authored Jan 12, 2025
2 parents 5d839e5 + b9de35f commit 5c10f3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/server/src/storage/storage.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ export class StorageController {
);
}

return this.storageService.uploadObject(userId, "pictures", file.buffer, userId);
return this.storageService.uploadObject(userId, "pictures", file.buffer, file.filename);
}
}

0 comments on commit 5c10f3d

Please sign in to comment.