diff options
| author | Terry Truong <terry06890@gmail.com> | 2022-12-29 22:16:17 +1100 |
|---|---|---|
| committer | Terry Truong <terry06890@gmail.com> | 2022-12-29 22:16:17 +1100 |
| commit | a3c5a73fae39de296cd05bde1a6853e20f84305a (patch) | |
| tree | 36c701f06a50d9d0b478606cb7b43b761650771c /src/lib.ts | |
| parent | 29f17375c623ff18cd8f2d5d828ebc462d01f617 (diff) | |
Make server send error for breaking unit-count limit
Diffstat (limited to 'src/lib.ts')
| -rw-r--r-- | src/lib.ts | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -308,7 +308,7 @@ export type HistEventJson = { } export type EventResponseJson = { events: HistEventJson[], - unitCounts: {[x: number]: number}, + unitCounts: {[x: number]: number} | null, } export function jsonToHistDate(json: HistDateJson){ if (json.gcal == null){ |
