Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Criptext/Criptext-Email-React-Client
/ getAccount
Function
getAccount
electron_app/src/database/DBEmanager.js:100–105 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
98
};
99
100
const
getAccount = () => {
101
if
(!getDB())
return
[];
102
return
Account()
103
.findAll()
104
.map(account => account.toJSON());
105
};
106
107
const
getAccountByParams = params => {
108
if
(!getDB())
return
[];
Callers
nothing calls this directly
Calls
2
getDB
Function · 0.85
Account
Class · 0.70
Tested by
no test coverage detected