mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-11 22:02:16 +00:00
fix: preserve legacy compliance response contract
This commit is contained in:
1 parent
41d47c3184
commit
24ff031f7a
9 files changed
+119
-44
No files matched your search
@@ -382,8 +382,8 @@ export function MedicationDetailTabs({
|
||||
return await apiGet<{
|
||||
applicable: boolean;
|
||||
notApplicableReason: "NO_LOCAL_SCHEDULE" | null;
|
||||
compliance7: { rate: number; streak: number } | null;
|
||||
compliance30: { rate: number } | null;
|
||||
compliance7: { rate: number; streak: number };
|
||||
compliance30: { rate: number };
|
||||
complianceDisplay: ComplianceDisplay | null;
|
||||
}>(`/api/medications/${id}/compliance`);
|
||||
} catch {
|
||||
|
||||
Reference in new issue
Block a user