Commit 49f94415 authored by Tejash's avatar Tejash
Browse files

Merge branch 'open-saber-rc-2' of github.com:tejash-jl/open-saber into open-saber-rc-2

Showing with 2 additions and 2 deletions
+2 -2
......@@ -68,7 +68,7 @@ public class ClaimService {
if(claim.isClosed()) {
throw new ClaimAlreadyProcessedException(CLAIM_IS_ALREADY_PROCESSED);
}
if(!conditions.contains(claim.getConditions())) {
if(!conditions.contains(claim.getAttestorEntity())) {
throw new UnAuthorizedException(USER_NOT_AUTHORIZED);
}
claim.setNotes(notes.orElse(""));
......@@ -85,7 +85,7 @@ public class ClaimService {
if(claim.isClosed()) {
throw new ClaimAlreadyProcessedException(CLAIM_IS_ALREADY_PROCESSED);
}
if(!conditions.contains(claim.getConditions())) {
if(!conditions.contains(claim.getAttestorEntity())) {
throw new UnAuthorizedException(USER_NOT_AUTHORIZED);
}
AttestationPropertiesDTO attestationProperties = openSaberClient.getAttestationProperties(claim);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment