Skip to content

Commit

Permalink
Bump
Browse files Browse the repository at this point in the history
  • Loading branch information
irees committed Oct 31, 2024
1 parent b9ecafe commit f71479c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ require (
github.com/interline-io/log v0.0.0-20240613202707-4e3adcc06d2d
github.com/interline-io/transitland-dbutil v0.0.0-20241007223837-7564820963d3
github.com/interline-io/transitland-jobs v0.0.0-20241007224018-cfcf2ea0fd72
github.com/interline-io/transitland-lib v1.0.0-rc3.0.20241030200411-ffcfc6078a00
github.com/interline-io/transitland-lib v1.0.0-rc3.0.20241031145421-1b92984f9aa1
github.com/interline-io/transitland-mw v0.0.0-20241007223948-3ff905d6e27e
github.com/jmoiron/sqlx v1.4.0
github.com/rs/zerolog v1.33.0
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,8 @@ github.com/interline-io/transitland-jobs v0.0.0-20241007224018-cfcf2ea0fd72 h1:B
github.com/interline-io/transitland-jobs v0.0.0-20241007224018-cfcf2ea0fd72/go.mod h1:8hAqZ//zkgpxGMcGEHPs/zmFNw7DMhkvMl6WyYbCSM0=
github.com/interline-io/transitland-lib v1.0.0-rc3.0.20241030200411-ffcfc6078a00 h1:Yw+wzjk7L7bG7T9dscDZOIiyN26UkayRHj/m3KobIME=
github.com/interline-io/transitland-lib v1.0.0-rc3.0.20241030200411-ffcfc6078a00/go.mod h1:1H9CH3iavzKjdJjLnhyu5MI35K/ySotez6cotosB0F0=
github.com/interline-io/transitland-lib v1.0.0-rc3.0.20241031145421-1b92984f9aa1 h1:ybontFeJAQkFh9WPH8OjQ5E1p1AToBWV4EIvv1iLQSQ=
github.com/interline-io/transitland-lib v1.0.0-rc3.0.20241031145421-1b92984f9aa1/go.mod h1:1H9CH3iavzKjdJjLnhyu5MI35K/ySotez6cotosB0F0=
github.com/interline-io/transitland-mw v0.0.0-20241007223948-3ff905d6e27e h1:XJmgG8Aq9R4rC0FnBocCV1rr9RwEBJFcvnC1WDHmlqI=
github.com/interline-io/transitland-mw v0.0.0-20241007223948-3ff905d6e27e/go.mod h1:3UNXaOzARo8gMTIKReRDGgYXmZ42JhVlS/XW1+q64kQ=
github.com/invopop/yaml v0.3.1 h1:f0+ZpmhfBSS4MhG+4HYseMdJhoeeopbSKbq5Rpeelso=
Expand Down
6 changes: 4 additions & 2 deletions server/gql/calendar_resolver.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ func (r *calendarResolver) AddedDates(ctx context.Context, obj *model.Calendar,
ret := []*tt.Date{}
for _, ent := range ents {
if ent.ExceptionType.Val == 1 {
ret = append(ret, &ent.Date)
x := tt.NewDate(ent.Date.Val)
ret = append(ret, &x)
}
}
return ret, nil
Expand All @@ -33,7 +34,8 @@ func (r *calendarResolver) RemovedDates(ctx context.Context, obj *model.Calendar
ret := []*tt.Date{}
for _, ent := range ents {
if ent.ExceptionType.Val == 2 {
ret = append(ret, &ent.Date)
x := tt.NewDate(ent.Date.Val)
ret = append(ret, &x)
}
}
return ret, nil
Expand Down

0 comments on commit f71479c

Please sign in to comment.