Removed old TODO's

This commit is contained in:
Wyatt Johnson
2017-02-15 17:53:13 -07:00
parent 9ab2653054
commit 3be8ae39c4
3 changed files with 0 additions and 12 deletions
-4
View File
@@ -7,10 +7,6 @@ const setUserStatus = ({user}, {id, status}) => {
};
module.exports = (context) => {
// TODO: refactor to something that'll return an error in the event an attempt
// is made to mutate state while not logged in. There's got to be a better way
// to do this.
if (context.user && context.user.can('mutation:setUserStatus')) {
return {
User: {