Remove unused variable, make linter happy
This commit is contained in:
parent
ca82a080d1
commit
00ae2a4cf2
|
|
@ -38,7 +38,7 @@ export const resolvers = {
|
|||
Object.keys(cache.data.data)
|
||||
.filter(prop => prop.indexOf('ModuleNode:') === 0)
|
||||
.map(moduleName => cache.data.delete(moduleName)); // v3 uses .evict{id, fieldname}
|
||||
return {success: true}
|
||||
return {success: true};
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import ME_QUERY from '@/graphql/gql/queries/meQuery.gql';
|
|||
import UPDATE_USER_SETTING from '@/graphql/gql/mutations/updateUserSetting.gql';
|
||||
import MY_SCHOOL_CLASS_QUERY from '@/graphql/gql/queries/mySchoolClass.gql';
|
||||
import DELETE_MODULE_NODES from '@/graphql/gql/local/mutations/deleteModuleNodes.gql';
|
||||
import MODULE_DETAILS_QUERY from "@/graphql/gql/queries/modules/moduleDetailsQuery.gql";
|
||||
import MODULE_DETAILS_QUERY from '@/graphql/gql/queries/modules/moduleDetailsQuery.gql';
|
||||
|
||||
export default {
|
||||
methods: {
|
||||
|
|
@ -23,12 +23,8 @@ export default {
|
|||
store.writeQuery({query: ME_QUERY, data: meData});
|
||||
|
||||
innerApollo.mutate({
|
||||
mutation: DELETE_MODULE_NODES,
|
||||
variables: {
|
||||
test: '',
|
||||
}
|
||||
})
|
||||
|
||||
mutation: DELETE_MODULE_NODES
|
||||
});
|
||||
},
|
||||
refetchQueries: [{
|
||||
query: MY_SCHOOL_CLASS_QUERY
|
||||
|
|
|
|||
Loading…
Reference in New Issue