We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d7ce14 commit 23e192bCopy full SHA for 23e192b
src/Cli/Commands/Generate.ts
@@ -112,7 +112,7 @@ export async function generate(options: Generate = {}) {
112
import { fhubClient } from '../client'
113
import { Actions } from 'fhub'
114
115
- export function action(parameters${isTypeScript ? `: Actions.${namespaceName}.${functionName}.ParametersType` : ''}): ${isTypeScript ? `Promise<Actions.${namespaceName}.${functionName}.ReturnType>` : ''} {
+ export async function action(parameters${isTypeScript ? `: Actions.${namespaceName}.${functionName}.ParametersType` : ''}): ${isTypeScript ? `Promise<Actions.${namespaceName}.${functionName}.ReturnType>` : ''} {
116
return Actions.${namespaceName}.${functionName}(fhubClient, parameters)
117
}
118
`)
0 commit comments