Dedupe
This commit is contained in:
parent
b38905234c
commit
e847e2df0a
1 changed files with 1 additions and 1 deletions
|
@ -387,7 +387,7 @@ class ValidationException extends AngelHttpException {
|
||||||
statusCode: 400,
|
statusCode: 400,
|
||||||
errors: (errors ?? <String>[]).toSet().toList(),
|
errors: (errors ?? <String>[]).toSet().toList(),
|
||||||
stackTrace: StackTrace.current) {
|
stackTrace: StackTrace.current) {
|
||||||
if (errors != null) this.errors.addAll(errors);
|
if (errors != null) this.errors.addAll(errors.toSet());
|
||||||
}
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
|
Loading…
Reference in a new issue