From 2dccaca132ddf6d49e6393a5db7b1e1b9bf10f95 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Tue, 19 Mar 2024 09:12:21 -0400 Subject: [PATCH] fix: missing await --- app/data/account-provider.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/data/account-provider.ts b/app/data/account-provider.ts index 67fbc43..154abd2 100644 --- a/app/data/account-provider.ts +++ b/app/data/account-provider.ts @@ -20,7 +20,7 @@ export const accountProvider: SdkProvider = { params: UpdateParams, ): Promise> { if (params.variables.email && params.variables.password) { - const ret = accountProvider.sdk?.account().updateEmail(params.variables.email, params.variables.password); + const ret = await accountProvider.sdk?.account().updateEmail(params.variables.email, params.variables.password); if (ret) { if (ret instanceof Error) {