fix cached annotations not displaying

This commit is contained in:
rramiachraf
2024-03-04 20:43:46 +01:00
parent 903d4ca99b
commit 679f34678c
4 changed files with 20 additions and 20 deletions

View File

@ -3,13 +3,13 @@ package data
type AnnotationsResponse struct {
Response struct {
Referent struct {
Annotations []Annotation `json:"annotations"`
Annotations []struct {
Body Annotation `json:"body"`
} `json:"annotations"`
} `json:"referent"`
} `json:"response"`
}
type Annotation struct {
Body struct {
Html string `json:"html"`
} `json:"body"`
HTML string `json:"html"`
}