Skip to content

Commit bb66ae1

Browse files
Use actor object from context (#502)
1 parent 67aea17 commit bb66ae1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/java/com/uid2/shared/audit/Audit.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,7 @@ private boolean validateId(String uidId, String propertyName) {
211211
}
212212

213213
private String getLogIdentifier(JsonObject logObject) {
214-
JsonObject actor = logObject.getJsonObject("actor");
215-
String email = (actor != null) ? actor.getString("email") : null;
214+
String email = (this.actor != null) ? this.actor.getString("email") : null;
216215
if (email != null && !email.isEmpty()) {
217216
return email;
218217
}

0 commit comments

Comments
 (0)