fix(platforms): include accountDid in settings retrieval for both platforms

- Remove accountDid exclusion from settings object construction in CapacitorPlatformService
- Remove accountDid exclusion from settings object construction in WebPlatformService
- Ensure accountDid is included in retrieved settings for proper DID-specific configuration handling

This change ensures that the accountDid field is properly included when retrieving
settings for the active account, allowing for proper DID-specific configuration
management across both Capacitor (mobile) and Web platforms.

Files modified:
- src/services/platforms/CapacitorPlatformService.ts
- src/services/platforms/WebPlatformService.ts

Timestamp: Wed Oct 8 03:05:45 PM UTC 2025
This commit is contained in:
Matthew Raymer
2025-10-08 15:06:16 +00:00
parent 97b382451a
commit fface30123
2 changed files with 4 additions and 4 deletions

View File

@@ -1424,8 +1424,8 @@ export class CapacitorPlatformService implements PlatformService {
const settings: Record<string, unknown> = {}; const settings: Record<string, unknown> = {};
columns.forEach((column, index) => { columns.forEach((column, index) => {
if (column !== "id" && column !== "accountDid") { if (column !== "id") {
// Exclude the id and accountDid columns // Exclude the id column
settings[column] = row[index]; settings[column] = row[index];
} }
}); });

View File

@@ -772,8 +772,8 @@ export class WebPlatformService implements PlatformService {
const settings: Record<string, unknown> = {}; const settings: Record<string, unknown> = {};
columns.forEach((column, index) => { columns.forEach((column, index) => {
if (column !== "id" && column !== "accountDid") { if (column !== "id") {
// Exclude the id and accountDid columns // Exclude the id column
settings[column] = row[index]; settings[column] = row[index];
} }
}); });