mirror of
https://github.com/wassname/talk.git
synced 2026-07-18 12:40:13 +08:00
Resolve linter issues
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
const { forEachField } = require('./utils');
|
||||
const { maskErrors } = require('graphql-errors');
|
||||
const { TalkError } = require('../errors');
|
||||
const { Error: { ValidationError } } = require('mongoose');
|
||||
const {
|
||||
Error: { ValidationError },
|
||||
} = require('mongoose');
|
||||
|
||||
// If an APIError happens in a mutation, then respond with `{errors: Array}`
|
||||
// according to the schema.
|
||||
|
||||
Reference in New Issue
Block a user