exports.getAnswer = (errors, data, success = true) => {
if (errors) {
return {
success: false,
errors,
}
success,
body: data,
exports.getResponse = (errors, data, success = true) => {
if (errors.length) {
warnings: [],
errors: [],