mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-29 00:20:04 +01:00
fix: add missing await
This commit is contained in:
@@ -12,7 +12,7 @@ export const ignoredMessages = ['Sync already running', 'Not allowed to start se
|
||||
const run = async (context = 'global', forced = false, full = true) => {
|
||||
let result = false;
|
||||
const userstore = useUserStore.getState();
|
||||
const user = db.user.getUser();
|
||||
const user = await db.user.getUser();
|
||||
if (!user) {
|
||||
initialize();
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user