diff --git a/content/2.developers/3.guides/15.ai-assisted-development/1.smart-contract-development/2.build-smart-contracts-cursor-ai.md b/content/2.developers/3.guides/15.ai-assisted-development/1.smart-contract-development/2.build-smart-contracts-cursor-ai.md index 87db1e25..627da0eb 100644 --- a/content/2.developers/3.guides/15.ai-assisted-development/1.smart-contract-development/2.build-smart-contracts-cursor-ai.md +++ b/content/2.developers/3.guides/15.ai-assisted-development/1.smart-contract-development/2.build-smart-contracts-cursor-ai.md @@ -258,7 +258,7 @@ To find the required fields for querying, refer to the `QueryMsg` enum in `msg.r To query the results of a specific poll, use the following command, replacing the placeholder `poll_id` with the ID of the poll you want to retrieve results for: ```bash -archway contracts query voting --args '{"poll_results": {"poll_id": "poll_1"}}' +archway contracts query smart voting --args '{"poll_results": {"poll_id": "poll_1"}}' ``` In this example, the query fetches the results for the poll with `poll_id` set to `"poll_1"`.