Skip to content

Commit

Permalink
chore: change name of listProject
Browse files Browse the repository at this point in the history
  • Loading branch information
lilbitner committed May 7, 2024
1 parent 0c36178 commit 54f9824
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/vercel/frontend/src/clients/Vercel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export default class VercelClient implements VercelAPIClient {
teamId: string
) {
try {
const data = await this.listProject(projectId, teamId);
const data = await this.getProject(projectId, teamId);
const envs = data.env;
const contentfulSpaceIdEnv = envs.find((env) => env.key === CONTENTFUL_SPACE_ID);
if (contentfulSpaceIdEnv) {
Expand All @@ -187,7 +187,7 @@ export default class VercelClient implements VercelAPIClient {
return false;
}

private async listProject(projectId: string, teamId: string): Promise<Project> {
private async getProject(projectId: string, teamId: string): Promise<Project> {
let projectData: Response;
try {
projectData = await fetch(
Expand Down

0 comments on commit 54f9824

Please sign in to comment.