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 UserGetAction extends Action {
handle(data) {
const client = this.client;
const user = client.dataManager.newUser(data);
return {
user,
};
return { user };
}
}