Skip to content

Commit 76b316f

Browse files
MFelidaFreekBes
authored andcommitted
chore: Fix documented return value for fetchMultiple42ApiPagesCallback
1 parent fffbdcc commit 76b316f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/sync/base.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export const fetchMultiple42ApiPages = async function(api: Fast42, path: string,
7070
* @param path The API path to fetch
7171
* @param params Optional query parameters for the API request
7272
* @param callback A callback function to call for each page fetched
73-
* @returns A promise that resolves to an array containing all items from all pages of the API responses
73+
* @returns A promise that resolves to a void
7474
*/
7575
export const fetchMultiple42ApiPagesCallback = async function(api: Fast42, path: string, params: { [key: string]: string } = {}, callback: (data: any, xPage: number, xTotal: number) => void): Promise<void> {
7676
return new Promise(async (resolve, reject) => {

0 commit comments

Comments
 (0)