Skip to content

Commit

Permalink
Renaming DeisAuthScrapper to DeisAuthScraper
Browse files Browse the repository at this point in the history
  • Loading branch information
juancri committed Jun 24, 2023
1 parent b67c1e2 commit 6235855
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion process/src/deis/DeisAuthScraper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const WAIT_FOR_SELECTOR_OPTIONS = { timeout: 120_000 };

const logger = Logger.get('DeisAuthScraper');

export default class DeisAuthScrapper
export default class DeisAuthScraper
{
public static async getCredentials(): Promise<DeisCredentials>
{
Expand Down
4 changes: 2 additions & 2 deletions process/src/deis/DeisClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import axios from 'axios';
import { v4 as uuidv4 } from 'uuid';

import { DeisCredentials, DeisResult } from '../Types';
import DeisAuthScrapper from './DeisAuthScraper';
import DeisAuthScraper from './DeisAuthScraper';
import Logger from '../util/Logger';
import DeisResults from './DeisResults';

Expand All @@ -17,7 +17,7 @@ const BASE_URL = 'https://informesdeis.minsal.cl/reportData/jobs?indexStrings=tr
export default class DeisClient
{
private credentials: DeisCredentials | null = null;
private credentialsPromise = DeisAuthScrapper.getCredentials();
private credentialsPromise = DeisAuthScraper.getCredentials();
private sequence = 1;

public async queryAll(payloads: string[]): Promise<DeisResults>
Expand Down

0 comments on commit 6235855

Please sign in to comment.