File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -39,16 +39,13 @@ impl AsyncPostValidator for CawgValidator {
39
39
) -> crate :: Result < Option < Value > > {
40
40
if label == "cawg.identity" || label. starts_with ( "cawg.identity__" ) {
41
41
let identity_assertion: IdentityAssertion = assertion. to_assertion ( ) ?;
42
- tracker. push_current_uri ( uri) ;
43
-
42
+ tracker. push_current_uri ( uri. to_string ( ) ) ;
44
43
let result = identity_assertion
45
44
. validate_partial_claim ( partial_claim, tracker)
46
45
. await
47
- . map ( Some )
48
- . map_err ( |e| crate :: Error :: ClaimVerification ( e. to_string ( ) ) ) ;
49
-
46
+ . ok ( ) ;
50
47
tracker. pop_current_uri ( ) ;
51
- return result;
48
+ return Ok ( result) ;
52
49
} ;
53
50
Ok ( None )
54
51
}
Original file line number Diff line number Diff line change @@ -2834,6 +2834,7 @@ impl Store {
2834
2834
}
2835
2835
_ => ( ) ,
2836
2836
} ;
2837
+ output_stream. rewind ( ) ?;
2837
2838
}
2838
2839
2839
2840
let pc = self . provenance_claim ( ) . ok_or ( Error :: ClaimEncoding ) ?;
You can’t perform that action at this time.
0 commit comments