Skip to content

Commit

Permalink
added a missing boolean inverse
Browse files Browse the repository at this point in the history
  • Loading branch information
hr2904 committed Jan 14, 2025
1 parent 298470a commit fa06926
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ public void authorizeRemoveRelation(AtlasEdge edge) throws AtlasBaseException {

private boolean isRequestFromWF() {
String workflowID = RequestContext.get().getRequestContextHeaders().getOrDefault("x-atlan-agent-workflow-id", "");
boolean ret = workflowID.isEmpty();
boolean ret = !workflowID.isEmpty();
if(ret){
LOG.info("Authorised one time request for workflow with id : {} ", workflowID);
}
Expand Down

0 comments on commit fa06926

Please sign in to comment.