Minor refactor of Actions

This commit is contained in:
Amish Shah
2017-04-29 17:56:36 +01:00
parent dd8f77fcf0
commit f7d65991d5
19 changed files with 37 additions and 104 deletions

View File

@@ -4,9 +4,7 @@ class ChannelCreateAction extends Action {
handle(data) {
const client = this.client;
const channel = client.dataManager.newChannel(data);
return {
channel,
};
return { channel };
}
}