Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: marcobottaro <[email protected]>
  • Loading branch information
MarcoPonchia and marcobottaro authored Dec 20, 2024
1 parent 6aa3ce9 commit 8d58646
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
} from '../types/contactResponse';
import { ActiveCampaignList } from '../types/activeCampaignList';

const MAX_NUMBER_OF_LIST = '1000';
const MAX_NUMBER_OF_LISTS = '1000';

async function getParameter(
paramName: string,
Expand Down Expand Up @@ -164,7 +164,7 @@ export class ActiveCampaignClient {
}

async getLists(ids?: readonly string[]) {
const limitParams = { limit: MAX_NUMBER_OF_LIST };
const limitParams = { limit: MAX_NUMBER_OF_LISTS };
return this.makeRequest<{ readonly lists: readonly ActiveCampaignList[] }>(
'GET',
'/api/3/lists',
Expand Down

0 comments on commit 8d58646

Please sign in to comment.