Skip to content

Commit

Permalink
test PR creation
Browse files Browse the repository at this point in the history
  • Loading branch information
collins-w committed Jan 23, 2024
1 parent f3c51c9 commit 768b140
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/account/src/api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { AccountUsageResponse } from '../models/account';

const PATH = '/account';

//
export class AccountClient extends BaseApiClient {
protected getPoolId(): string {
return process.env.DEFENDER_POOL_ID ?? 'us-west-2_94f3puJWv';
Expand All @@ -21,7 +22,6 @@ export class AccountClient extends BaseApiClient {
...(params?.quotas && { quotas: params.quotas.join(',') }),
...(params?.date && { date: new Date(params.date).toISOString() }),
});

return this.apiCall(async (api) => api.get(`${PATH}/usage?${searchParams.toString()}`));
}
}
1 change: 1 addition & 0 deletions packages/action/src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ type SourceFiles = {
[name: string]: string;
};

//
export class ActionClient extends BaseApiClient {
protected getPoolId(): string {
return process.env.DEFENDER_POOL_ID || 'us-west-2_94f3puJWv';
Expand Down

0 comments on commit 768b140

Please sign in to comment.