mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-08 07:28:26 +00:00
Prettier
This commit is contained in:
+3
-1
@@ -520,7 +520,9 @@ class Store extends ElectronStore<StoreData> {
|
|||||||
*/
|
*/
|
||||||
private async getSecretKeytar(key: string): Promise<string | undefined> {
|
private async getSecretKeytar(key: string): Promise<string | undefined> {
|
||||||
return (
|
return (
|
||||||
(await keytar.getPassword(KEYTAR_SERVICE, key)) ?? (await keytar.getPassword(LEGACY_KEYTAR_SERVICE, key) ?? undefined)
|
(await keytar.getPassword(KEYTAR_SERVICE, key)) ??
|
||||||
|
(await keytar.getPassword(LEGACY_KEYTAR_SERVICE, key)) ??
|
||||||
|
undefined
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user