Fix build issue

This commit is contained in:
Jan Oberhauser
2021-10-12 22:20:51 -05:00
parent 8618415772
commit 1e34aca8bd
9 changed files with 19 additions and 13 deletions

View File

@@ -1,4 +1,5 @@
import {
Request,
sign,
} from 'aws4';
@@ -62,7 +63,7 @@ export async function s3ApiRequest(this: IHookFunctions | IExecuteFunctions | IL
path: `${path}?${queryToString(query).replace(/\+/g, '%2B')}`,
service: 's3',
body,
};
} as Request;
sign(signOpts, { accessKeyId: `${credentials.accessKeyId}`.trim(), secretAccessKey: `${credentials.secretAccessKey}`.trim() });