fix issues
This commit is contained in:
@@ -17,9 +17,9 @@ export class RatingDelta implements IValueObject<RatingDeltaProps> {
|
||||
throw new IdentityDomainValidationError('Rating delta must be a valid number');
|
||||
}
|
||||
|
||||
if (value < -100 || value > 100) {
|
||||
if (value < -500 || value > 500) {
|
||||
throw new IdentityDomainValidationError(
|
||||
`Rating delta must be between -100 and 100, got: ${value}`
|
||||
`Rating delta must be between -500 and 500, got: ${value}`
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user