mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +00:00
fix: Set '@typescript-eslint/return-await' rule to 'always' for FE (no-changelog) (#8373)
This commit is contained in:
@@ -21,7 +21,7 @@ export async function generateCodeForPrompt(
|
||||
n8nVersion: string;
|
||||
},
|
||||
): Promise<{ code: string }> {
|
||||
return makeRestApiRequest(ctx, 'POST', '/ask-ai', {
|
||||
return await makeRestApiRequest(ctx, 'POST', '/ask-ai', {
|
||||
question,
|
||||
context,
|
||||
model,
|
||||
|
||||
Reference in New Issue
Block a user