We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1187f5 commit 4a06426Copy full SHA for 4a06426
routes/api/v1/data/[id].dart
@@ -122,6 +122,12 @@ Future<Response> _handleGet(
122
id: id,
123
userId: userIdForRepoCall,
124
); // userId should be null for AppConfig
125
+ case 'dashboard_summary':
126
+ final repo = context.read<HtDataRepository<DashboardSummary>>();
127
+ item = await repo.read(
128
+ id: id,
129
+ userId: userIdForRepoCall,
130
+ );
131
default:
132
// This case should ideally be caught by middleware, but added for safety
133
// Throw an exception to be caught by the errorHandler
0 commit comments