Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
onhate committed Aug 1, 2024
1 parent 4d4f9e4 commit 0027901
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions src/clients/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ class Client {
!Array.isArray(args.at(-1)) &&
args.pop();

return await this.transporter.request(method, uri, body);
return this.transporter.request(method, uri, body);
}

/**
Expand Down Expand Up @@ -234,8 +234,8 @@ class Client {
hasCursorPagination(page)
? page.links.next
: hasOffsetPagination(page)
? page.next_page
: null;
? page.next_page

Check failure on line 237 in src/clients/client.js

View workflow job for this annotation

GitHub Actions / build-and-deploy

Insert `··`
: null;

Check failure on line 238 in src/clients/client.js

View workflow job for this annotation

GitHub Actions / build-and-deploy

Insert `··`
const item = processResponseBody(currentPage, this);
bodyList.push(item);
Expand All @@ -245,12 +245,7 @@ class Client {
const fetchPagesRecursively = async (pageUri) => {
const isIncremental = pageUri.includes('incremental');
const responseData = await __request.call(
this,
method,
pageUri,
...args,
);
const responseData = await __request.call(this, method, pageUri, ...args);
const nextPage = processPage(responseData);
if (
nextPage &&
Expand Down

0 comments on commit 0027901

Please sign in to comment.