From d92335d1f353f0847dbdcbfa3ec6c172e3208ff0 Mon Sep 17 00:00:00 2001 From: phamhieu Date: Wed, 4 May 2022 14:22:28 +0700 Subject: [PATCH] chore: tidy up --- studio/stores/app/ProjectStore.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 &&