fix(server): Allow negative rating (for rejected images) (#15699)

Allow negative rating (for rejected images)
This commit is contained in:
Christian Kündig 2025-01-28 04:54:29 +01:00 committed by GitHub
parent f44669447f
commit fe1e09e51f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 31 additions and 6 deletions

View file

@ -52,7 +52,7 @@ export class UpdateAssetBase {
@Optional()
@IsInt()
@Max(5)
@Min(0)
@Min(-1)
rating?: number;
}