diff --git a/server/package-lock.json b/server/package-lock.json index eaff744cc9..3beec64001 100644 --- a/server/package-lock.json +++ b/server/package-lock.json @@ -38,7 +38,6 @@ "fast-glob": "^3.3.2", "fluent-ffmpeg": "^2.1.2", "geo-tz": "^8.0.0", - "glob": "^10.3.3", "handlebars": "^4.7.8", "i18n-iso-countries": "^7.6.0", "ioredis": "^5.3.2", @@ -89,7 +88,6 @@ "@typescript-eslint/eslint-plugin": "^7.0.0", "@typescript-eslint/parser": "^7.0.0", "@vitest/coverage-v8": "^1.5.0", - "dotenv": "^16.3.1", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.1.3", diff --git a/server/package.json b/server/package.json index 627adf2b73..328b58fdd7 100644 --- a/server/package.json +++ b/server/package.json @@ -62,7 +62,6 @@ "fast-glob": "^3.3.2", "fluent-ffmpeg": "^2.1.2", "geo-tz": "^8.0.0", - "glob": "^10.3.3", "handlebars": "^4.7.8", "i18n-iso-countries": "^7.6.0", "ioredis": "^5.3.2", @@ -113,7 +112,6 @@ "@typescript-eslint/eslint-plugin": "^7.0.0", "@typescript-eslint/parser": "^7.0.0", "@vitest/coverage-v8": "^1.5.0", - "dotenv": "^16.3.1", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.1.3", diff --git a/server/src/dtos/album.dto.ts b/server/src/dtos/album.dto.ts index c588847c69..19d03a4d8e 100644 --- a/server/src/dtos/album.dto.ts +++ b/server/src/dtos/album.dto.ts @@ -38,6 +38,7 @@ class AlbumUserCreateDto { userId!: string; @IsEnum(AlbumUserRole) + @ApiProperty({ enum: AlbumUserRole, enumName: 'AlbumUserRole' }) role!: AlbumUserRole; }