diff --git a/studio/stores/app/ProjectStore.ts b/studio/stores/app/ProjectStore.ts index b1f7234a0dd..d3504b75cb7 100644 --- a/studio/stores/app/ProjectStore.ts +++ b/studio/stores/app/ProjectStore.ts @@ -32,7 +32,7 @@ export default class ProjectStore extends PostgresMetaInterface { if (!response.error) { const project = response as Project // to improve UX, we wait for PingPostgrest result before continue - project.postgrestStatus = await this.myPingPostgrest(project) + project.postgrestStatus = await this.pingPostgrest(project) // update project detail by key id this.data[project.id] = project @@ -41,7 +41,7 @@ export default class ProjectStore extends PostgresMetaInterface { } } - async myPingPostgrest(project: Project): Promise<'ONLINE' | 'OFFLINE' | undefined> { + async pingPostgrest(project: Project): Promise<'ONLINE' | 'OFFLINE' | undefined> { if ( project.status === PROJECT_STATUS.ACTIVE_HEALTHY && project.restUrl &&