fix: search pagination output (#42) (thanks @pjtf93)
This commit is contained in:
@@ -68,7 +68,11 @@ export function withSearch<TBase extends AbstractConstructor<TwitterClientBase>>
|
||||
return this.searchPaged(query, Number.POSITIVE_INFINITY, options);
|
||||
}
|
||||
|
||||
private async searchPaged(query: string, limit: number, options: SearchPaginationOptions = {}): Promise<SearchResult> {
|
||||
private async searchPaged(
|
||||
query: string,
|
||||
limit: number,
|
||||
options: SearchPaginationOptions = {},
|
||||
): Promise<SearchResult> {
|
||||
const features = buildSearchFeatures();
|
||||
const pageSize = 20;
|
||||
const seen = new Set<string>();
|
||||
|
||||
Reference in New Issue
Block a user