Skip to content

Commit 86ba352

Browse files
committed
chore(client): api changes
1 parent 8cec2fe commit 86ba352

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/client/structures.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ type RawLessons struct {
7171

7272
type Lesson struct {
7373
Subject string `json:"subject"`
74-
Marks []Mark `json:"marks"`
74+
Marks []Mark `json:"slots"`
7575
}
7676

7777
func (l Lesson) String() string {
@@ -99,7 +99,7 @@ type Event struct {
9999
LessonDate string `json:"lesson_date"`
100100
Number int `json:"lesson_number"`
101101
Homeworks []int `json:"homework_to_check_ids"`
102-
Marks []Mark `json:"marks"`
102+
Marks []Mark `json:"slots"`
103103
}
104104

105105
func (e Event) Date() time.Time {

0 commit comments

Comments
 (0)