Skip to content

Commit

Permalink
remove extra await
Browse files Browse the repository at this point in the history
  • Loading branch information
netbonus committed Feb 26, 2024
1 parent a14aa34 commit 332e756
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/utilities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const setup = async ({
setSaveClient(buildSaveClientFn(setStoredClient));

if (!setStoredClient) throw new Error('Client data setter required');
setLoadClient(await buildLoadClientFn(getStoredClient));
setLoadClient(buildLoadClientFn(getStoredClient));

if (deviceId && password && name) {
const privKey = Utils.generateAppSecret(deviceId, password, name);
Expand Down

0 comments on commit 332e756

Please sign in to comment.