forked from trent_larson/crowd-funder-for-time-pwa
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:
@@ -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];
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user