diff options
author | Collin Guarino <collin.guarino@gmail.com> | 2016-02-15 10:16:38 -0500 |
---|---|---|
committer | Collin Guarino <collin.guarino@gmail.com> | 2016-02-15 10:16:38 -0500 |
commit | 6c98dbd41689b016268c088d9314c9250bd36b7e (patch) | |
tree | bdeee4f889de68920a32d19f9c3e8a520471e0e6 | |
parent | 0653dcab284be6f05ebf8dc4b3054b49d9a5b519 (diff) |
Fixed Bridge.CreateScene to pass scene_test
-rw-r--r-- | scene.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -74,7 +74,7 @@ func (bridge *Bridge) GetScene(id string) (Scene, error) { // Bridge.CreateScene will post a new scene configuration to the bridge. func (bridge *Bridge) CreateScene(scene Scene) error { uri := fmt.Sprintf("/api/%s/scenes/", bridge.Username) - body, _, err := bridge.Post(uri, scene) + _, _, err := bridge.Post(uri, scene) if err != nil { return err } |