Skip to content

Commit

Permalink
add description in the call sc (#1358)
Browse files Browse the repository at this point in the history
  • Loading branch information
Thykof authored May 3, 2024
1 parent 0669520 commit 9dc70b0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions api/swagger/server/restapi/resource/swagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ paths:
fee:
$ref: "#/definitions/Amount"
description: Set the fee amount that will be given to the block creator.
description:
description: Description of the operation.
type: string
default: ""
produces:
- application/json
responses:
Expand Down
2 changes: 1 addition & 1 deletion int/api/cmd/execute_function.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func (e *executeFunction) Handle(params operations.CmdExecuteFunctionParams) mid
asyncReq,
sendOperation.OperationBatch{NewBatch: false, CorrelationID: ""},
&signer.WalletPlugin{},
"",
params.Body.Description,
)
if err != nil {
return operations.NewCmdExecuteFunctionInternalServerError().WithPayload(
Expand Down

0 comments on commit 9dc70b0

Please sign in to comment.