make streamLinks async

This commit is contained in:
Ben Irvin 2022-10-31 15:47:01 +01:00
parent b9be16c03b
commit 4089ef7ea9

View File

@ -57,7 +57,7 @@ class LocalStrapiSourceProvider implements ISourceProvider {
]);
}
streamLinks(): NodeJS.ReadableStream {
async streamLinks(): Promise<NodeJS.ReadableStream> {
if (!this.strapi) {
throw new Error('Not able to stream links. Strapi instance not found');
}