Browse Source

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
pull/204/head
Matthew Raymer 1 week ago
parent
commit
fface30123
  1. 4
      src/services/platforms/CapacitorPlatformService.ts
  2. 4
      src/services/platforms/WebPlatformService.ts

4
src/services/platforms/CapacitorPlatformService.ts

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

4
src/services/platforms/WebPlatformService.ts

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

Loading…
Cancel
Save