mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-12 13:27:31 -08:00
👕 Fix TypeScript issue
This commit is contained in:
parent
65d2aba7c1
commit
d2f3b1891c
|
@ -552,7 +552,7 @@ export class EditImage implements INodeType {
|
|||
|
||||
return new Promise<INodeExecutionData>((resolve, reject) => {
|
||||
gmInstance
|
||||
.toBuffer((error: Error, buffer: Buffer) => {
|
||||
.toBuffer((error: Error | null, buffer: Buffer) => {
|
||||
if (error) {
|
||||
return reject(error);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue