mirror of
https://github.com/wassname/talk.git
synced 2026-08-04 13:23:35 +08:00
Removed old TODO's
This commit is contained in:
@@ -189,10 +189,6 @@ const setCommentStatus = ({loaders: {Comments}}, {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.
|
||||
let mutators = {
|
||||
Comment: {
|
||||
create: () => Promise.reject(errors.ErrNotAuthorized),
|
||||
|
||||
Reference in New Issue
Block a user