diff options
author | Collin Guarino <collin.guarino@gmail.com> | 2016-02-14 23:15:03 -0500 |
---|---|---|
committer | Collin Guarino <collin.guarino@gmail.com> | 2016-02-14 23:15:03 -0500 |
commit | fb14bbfab6d23cac1fc987a6190c11b41fadc4d7 (patch) | |
tree | 2e83343ab40f56123ad60905274a778f5929fc06 /schedule.go | |
parent | d5d85fa56a9ec8c44b3e7642586c3cd1fc3aa952 (diff) |
Added documentation and changed Bridge.GetScenes to Bridge.GetAllScenes for clarification.
Diffstat (limited to 'schedule.go')
-rw-r--r-- | schedule.go | 2 |
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) |