forked from jsnbuchanan/crowd-funder-for-time-pwa
change accessToken to take a DID
This commit is contained in:
@@ -196,7 +196,9 @@ export function findAllVisibleToDids(
|
||||
*
|
||||
**/
|
||||
|
||||
export const getAccount = async (activeDid: string): Promise<Account> => {
|
||||
export const getAccount = async (
|
||||
activeDid: string,
|
||||
): Promise<Account | undefined> => {
|
||||
await accountsDB.open();
|
||||
const account = (await accountsDB.accounts
|
||||
.where("did")
|
||||
|
||||
Reference in New Issue
Block a user