Skip to content

Commit

Permalink
fix: await
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyoucao577 authored Jan 30, 2025
1 parent ec87ffa commit be42c7a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class {{class_name_prefix}}Extension(AsyncExtension):
# TODO: process cmd

cmd_result = CmdResult.create(StatusCode.OK)
ten_env.return_result(cmd_result, cmd)
await ten_env.return_result(cmd_result, cmd)

async def on_data(self, ten_env: AsyncTenEnv, data: Data) -> None:
data_name = data.get_name()
Expand Down

0 comments on commit be42c7a

Please sign in to comment.