fix: from merge

This commit is contained in:
Matthew Raymer
2025-09-08 11:38:51 +00:00
parent d9569922eb
commit f55ef85981
5 changed files with 36 additions and 36 deletions

View File

@@ -749,7 +749,7 @@ export const PlatformServiceMixin = {
const result = await this.$dbQuery(
"SELECT did FROM accounts ORDER BY dateCreated, did",
);
return result?.values?.map((row) => row[0] as string) || [];
return result?.values?.map((row: unknown[]) => row[0] as string) || [];
},
/**
@@ -1502,24 +1502,6 @@ export const PlatformServiceMixin = {
}
},
/**
* Get all account DIDs - $getAllAccountDids()
* Retrieves all account DIDs from the accounts table
* @returns Promise<string[]> Array of account DIDs
*/
async $getAllAccountDids(): Promise<string[]> {
try {
const accounts = await this.$query<Account>("SELECT did FROM accounts");
return accounts.map((account) => account.did);
} catch (error) {
logger.error(
"[PlatformServiceMixin] Error getting all account DIDs:",
error,
);
return [];
}
},
// =================================================
// TEMP TABLE METHODS (for temporary storage)
// =================================================