Skip to content

Commit cc2fc83

Browse files
authored
Apply suggestion from @Gcolon021
1 parent 06130bb commit cc2fc83

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

‎pic-sure-api-war/src/main/java/edu/harvard/dbmi/avillach/security/AuditLoggingFilter.java‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -205,10 +205,7 @@ public void filter(ContainerRequestContext requestContext, ContainerResponseCont
205205
metadata.put("user_email", userEmail);
206206
}
207207

208-
// Originating caller (e.g. PYTHON_ADAPTER / R_ADAPTER), set by the
209-
// adapters via the X-Client-Type header. Recorded as "caller" to
210-
// distinguish it from the top-level client_type, which identifies
211-
// the emitting service ("api").
208+
// Originating caller (e.g. PYTHON_ADAPTER / R_ADAPTER)
212209
String caller = httpServletRequest.getHeader("X-Client-Type");
213210
if (caller != null && !caller.isEmpty()) {
214211
metadata.put("caller", caller);

0 commit comments

Comments
 (0)