Skip to content

Commit

Permalink
[keyserver] fix db setup
Browse files Browse the repository at this point in the history
Summary:
don't use fetchCallUpdateOlmAccount from verifyUserLoggedInWithoutDB

resolves https://linear.app/comm/issue/ENG-9583/running-keyserver-with-fresh-db-is-broken

Test Plan: i'm able to set up a fresh keyserver with no issues

Reviewers: inka, kamil, ashoat

Reviewed By: ashoat

Subscribers: tomek

Differential Revision: https://phab.comm.dev/D13693
  • Loading branch information
vdhanan committed Oct 10, 2024
1 parent e22e879 commit 7223425
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keyserver/src/user/login.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ async function registerOrLogInBase<T>(
prekey: notificationsPrekey,
prekeySignature: notificationsPrekeySignature,
oneTimeKeys: notificationsOneTimeKeys,
} = await fetchCallUpdateOlmAccount('notifications', retrieveAccountKeysSet);
} = await getUpdateNotificationsAccount(retrieveAccountKeysSet);

const contentAccountCallback = async (account: OlmAccount) => {
const {
Expand Down

0 comments on commit 7223425

Please sign in to comment.