Skip to content
This repository has been archived by the owner on Jul 31, 2020. It is now read-only.

Resolve GitHub issue #60: adds a singular form of createScenes #62

Merged
merged 2 commits into from
Jun 5, 2017
Merged

Resolve GitHub issue #60: adds a singular form of createScenes #62

merged 2 commits into from
Jun 5, 2017

Conversation

cactysman
Copy link
Contributor

No description provided.

* Instructs the server to create a new scene with the specified parameters.
*/
public createScene(scene: ISceneData): Promise<ISceneData> {
return this.execute('createScenes', { scenes: [ scene ] } as ISceneDataArray, false)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about,

this.createScenes({scenes:[scene]})

That way we don't have a duplicate execute call?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

facepalms

@ProbablePrime ProbablePrime merged commit dec6c74 into mixer:master Jun 5, 2017
@cactysman cactysman deleted the enhancement-createScenes branch June 19, 2017 20:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants