aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCollin Guarino <collin.guarino@gmail.com>2016-02-15 10:16:38 -0500
committerCollin Guarino <collin.guarino@gmail.com>2016-02-15 10:16:38 -0500
commit6c98dbd41689b016268c088d9314c9250bd36b7e (patch)
treebdeee4f889de68920a32d19f9c3e8a520471e0e6
parent0653dcab284be6f05ebf8dc4b3054b49d9a5b519 (diff)
Fixed Bridge.CreateScene to pass scene_test
-rw-r--r--scene.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene.go b/scene.go
index 4ef319f..48ad74e 100644
--- a/scene.go
+++ b/scene.go
@@ -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
}