mirror of
https://github.com/bitwarden/browser
synced 2026-02-05 03:03:26 +00:00
Return a real number for number of credentials synced
This commit is contained in:
@@ -357,8 +357,7 @@ export class NativeAutofillWindowsMain {
|
||||
|
||||
passkey_authenticator.syncCredentialsToWindows(mappedCredentials);
|
||||
|
||||
// TODO: Return a meaningful result
|
||||
const res = { value: { added: 999 } } as RunCommandResult<C>;
|
||||
const res = { value: { added: mappedCredentials.length } } as RunCommandResult<C>;
|
||||
return res;
|
||||
} catch (e) {
|
||||
this.logService.error(`Error running autofill command '${command.command}':`, e);
|
||||
|
||||
Reference in New Issue
Block a user