From f0459ea46bcfb06dc5629fe8ff255e79ba796f3e Mon Sep 17 00:00:00 2001 From: Joshen Lim Date: Tue, 21 Jan 2025 23:39:03 +0800 Subject: [PATCH] Update apps/studio/data/config/jwt-secret-updating-status-query.ts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Kamil Ogórek --- apps/studio/data/config/jwt-secret-updating-status-query.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/studio/data/config/jwt-secret-updating-status-query.ts b/apps/studio/data/config/jwt-secret-updating-status-query.ts index 3294228ba2e..ebc970972c4 100644 --- a/apps/studio/data/config/jwt-secret-updating-status-query.ts +++ b/apps/studio/data/config/jwt-secret-updating-status-query.ts @@ -30,7 +30,7 @@ export async function getJwtSecretUpdatingStatus( if (error) handleError(error) // @ts-expect-error API typing issue here - const { meta } = data.jwtSecretUpdateStatus + const meta = data.jwtSecretUpdateStatus?.meta ?? data.jwtSecretUpdateStatus return meta ? ({