Skip to content

Commit 1fad2b7

Browse files
committed
fix: update return type of searchActorsByKeywords to ensure consistent promise resolution
1 parent 18e21c0 commit 1fad2b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/store_collection.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export async function searchActorsByKeywords(
3939
limit: number | undefined = undefined,
4040
offset: number | undefined = undefined,
4141
pricingModel: ApifyStorePricingModel | undefined = undefined,
42-
): Promise<ActorStorePruned[] | null> {
42+
): Promise<ActorStorePruned[]> {
4343
const client = new ApifyClient({ token: apifyToken });
4444
const results = await client.store().list({ search, limit, offset, pricingModel });
4545
return results.items.map((x) => pruneActorStoreInfo(x));

0 commit comments

Comments
 (0)