Skip to content

Commit

Permalink
Include resource path for resource methods in client object
Browse files Browse the repository at this point in the history
  • Loading branch information
NipunaMadhushan committed Sep 7, 2023
1 parent 3faf5bb commit c8cbeb6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ private static Function getFunctionModel(FunctionDefinitionNode functionDefiniti
String functionName = "";
String accessor = "";
String resourcePath = "";
if (functionDefinitionNode.kind() == SyntaxKind.RESOURCE_ACCESSOR_DEFINITION) {
if (functionDefinitionNode.kind() == SyntaxKind.RESOURCE_ACCESSOR_DECLARATION) {
accessor = functionDefinitionNode.functionName().text();
resourcePath = functionDefinitionNode.relativeResourcePath().stream().
collect(StringBuilder::new, (firstString, secondString) -> firstString.append(secondString),
Expand Down

0 comments on commit c8cbeb6

Please sign in to comment.