Skip to content

Commit 6a45df1

Browse files
committed
Added template src logging, MethodRequestBuilder.cs.tt - method type changed to Action or Function
1 parent 6075227 commit 6a45df1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Templates/CSharp/Requests/MethodRequestBuilder.cs.tt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ var requestType = entityName + methodName + "Request";
1010
var requestBuilderType = requestType + "Builder";
1111

1212
var isPost = method.IsAction() && method.Parameters != null && method.Parameters.Any();
13-
var methodType = isPost ? "Post" : "Get";
13+
var methodType = method.IsFunction ? "Function" : "Action";
1414

1515
var overloads = new List<OdcmMethod>();
1616
overloads.Add(method);

0 commit comments

Comments
 (0)