Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chore: tidy up

phamhieud92335d1f353
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<Project> {
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<Project> {
}
}
- 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 &&