feat: normalize user ID in auth envelope and update hub manager assignment logic

This commit is contained in:
Achintha Isuru
2026-03-17 14:47:01 -04:00
parent e2d833dc58
commit a12539ba07
3 changed files with 23 additions and 8 deletions

View File

@@ -39,7 +39,7 @@ class ClientOrderQueryRepositoryImpl
id: role['roleId'] as String? ?? role['id'] as String? ?? '',
name: role['roleName'] as String? ?? role['name'] as String? ?? '',
costPerHour:
((role['billRateCents'] as num?)?.toDouble() ?? 0) / 100.0,
((role['hourlyRateCents'] as num?)?.toDouble() ?? 0) / 100.0,
);
}).toList();
}