Skip to content

Commit ba56965

Browse files
ricardozaninitsurdilo
authored andcommitted
Fix spelling
Signed-off-by: Ricardo Zanini <[email protected]>
1 parent cd4f9a6 commit ba56965

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

api/src/main/java/io/serverlessworkflow/api/deserializers/AuthDeserializer.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -84,17 +84,17 @@ public Auth deserialize(JsonParser jp, DeserializationContext ctxt) throws IOExc
8484
authRefNode = jsonWriter.readTree(new JSONObject(authFileSrc).toString());
8585
}
8686

87-
JsonNode refAuth = authRefNode.get("retries");
87+
JsonNode refAuth = authRefNode.get("auth");
8888
if (refAuth != null) {
8989
for (final JsonNode nodeEle : refAuth) {
9090
authDefinitions.add(mapper.treeToValue(nodeEle, AuthDefinition.class));
9191
}
9292
} else {
93-
logger.error("Unable to find retries definitions in reference file: {}", authFileSrc);
93+
logger.error("Unable to find auth definitions in reference file: {}", authFileSrc);
9494
}
9595

9696
} else {
97-
logger.error("Unable to load retries defs reference file: {}", authFileSrc);
97+
logger.error("Unable to load auth defs reference file: {}", authFileSrc);
9898
}
9999
}
100100
auth.setAuthDefs(authDefinitions);

0 commit comments

Comments
 (0)