From fface3012390ec386aef9270f371b1b0b9fa1ea3 Mon Sep 17 00:00:00 2001 From: Matthew Raymer Date: Wed, 8 Oct 2025 15:06:16 +0000 Subject: [PATCH] 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 --- src/services/platforms/CapacitorPlatformService.ts | 4 ++-- src/services/platforms/WebPlatformService.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/services/platforms/CapacitorPlatformService.ts b/src/services/platforms/CapacitorPlatformService.ts index ce9e1267..b1907f13 100644 --- a/src/services/platforms/CapacitorPlatformService.ts +++ b/src/services/platforms/CapacitorPlatformService.ts @@ -1424,8 +1424,8 @@ export class CapacitorPlatformService implements PlatformService { const settings: Record = {}; 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]; } }); diff --git a/src/services/platforms/WebPlatformService.ts b/src/services/platforms/WebPlatformService.ts index 0d5605bb..f5edcc28 100644 --- a/src/services/platforms/WebPlatformService.ts +++ b/src/services/platforms/WebPlatformService.ts @@ -772,8 +772,8 @@ export class WebPlatformService implements PlatformService { const settings: Record = {}; 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]; } });