This commit is contained in:
Tobe O 2019-09-27 09:29:21 -04:00
parent b38905234c
commit e847e2df0a

View file

@ -387,7 +387,7 @@ class ValidationException extends AngelHttpException {
statusCode: 400,
errors: (errors ?? <String>[]).toSet().toList(),
stackTrace: StackTrace.current) {
if (errors != null) this.errors.addAll(errors);
if (errors != null) this.errors.addAll(errors.toSet());
}
@override