diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0fbc9a0935..3501deab42 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -9,7 +9,7 @@ To run the development environment of the application locally on your computer, #### Requirements - Docker (with Docker Compose) -- Node.js 18 or higher (with pnpm) +- Node.js 20 or higher (with pnpm) ### 1. Fork and Clone the Repository diff --git a/apps/server/src/storage/storage.controller.ts b/apps/server/src/storage/storage.controller.ts index 8fa781a24d..7f1d04d853 100644 --- a/apps/server/src/storage/storage.controller.ts +++ b/apps/server/src/storage/storage.controller.ts @@ -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); } }