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 4605278 commit 3f50872
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,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 3f50872

Please sign in to comment.