mirror of
https://github.com/n8n-io/n8n.git
synced 2025-11-20 17:46:34 +00:00
fix: tsc errors
This commit is contained in:
parent
d628a9c3e5
commit
ed42990225
@ -136,7 +136,7 @@ export async function execute(this: IExecuteFunctions, i: number): Promise<INode
|
||||
} else if (model.includes('imagen')) {
|
||||
// Imagen models use a different endpoint and request/response structure
|
||||
const sampleCount = this.getNodeParameter('options.sampleCount', i, 1) as number;
|
||||
const aspectRatio: string = this.getNodeParameter('options.aspectRatio', i, '1:1');
|
||||
const aspectRatio = this.getNodeParameter('options.aspectRatio', i, '1:1') as string;
|
||||
const body = {
|
||||
instances: [
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user