mirror of
https://github.com/strapi/strapi.git
synced 2025-09-23 07:22:51 +00:00
make streamLinks async
This commit is contained in:
parent
b9be16c03b
commit
4089ef7ea9
@ -57,7 +57,7 @@ class LocalStrapiSourceProvider implements ISourceProvider {
|
|||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
streamLinks(): NodeJS.ReadableStream {
|
async streamLinks(): Promise<NodeJS.ReadableStream> {
|
||||||
if (!this.strapi) {
|
if (!this.strapi) {
|
||||||
throw new Error('Not able to stream links. Strapi instance not found');
|
throw new Error('Not able to stream links. Strapi instance not found');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user