MCPcopy 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
100const getAccount = () => {
101 if (!getDB()) return [];
102 return Account()
103 .findAll()
104 .map(account => account.toJSON());
105};
106
107const getAccountByParams = params => {
108 if (!getDB()) return [];

Callers

nothing calls this directly

Calls 2

getDBFunction · 0.85
AccountClass · 0.70

Tested by

no test coverage detected