aboutsummaryrefslogtreecommitdiff
path: root/schedule.go
diff options
context:
space:
mode:
Diffstat (limited to 'schedule.go')
-rw-r--r--schedule.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/schedule.go b/schedule.go
index c586e1d..fb0b4d3 100644
--- a/schedule.go
+++ b/schedule.go
@@ -57,7 +57,7 @@ func (bridge *Bridge) GetAllSchedules() ([]Schedule, error) {
}
// Bridge.GetSchedule will get the attributes for an individual schedule.
-// This is used as to optimize time when updating the state of a schedule item.
+// This is used to optimize time when updating the state of a schedule item.
// Note: The ID is not an index, it's a unique key generated for each schedule.
func (bridge *Bridge) GetSchedule(id string) (Schedule, error) {
uri := fmt.Sprintf("/api/%s/schedules/%s", bridge.Username, id)