aboutsummaryrefslogtreecommitdiff
path: root/src/services/errors/errors.js
diff options
context:
space:
mode:
authorSean King <seanking2919@protonmail.com>2022-08-06 22:02:21 -0600
committerSean King <seanking2919@protonmail.com>2022-08-06 22:02:21 -0600
commitdc9951d400fc6f4e9080d29589bf186fb081f4f6 (patch)
tree06491c209236128adaf47644babd2ade44c490e3 /src/services/errors/errors.js
parent18d69f93d38dc15a74db81ee4c10b4766bebfc35 (diff)
parent610720f164dc9fcf36f9df33bddec5ac9c654e1e (diff)
Fix merge conflicts
Diffstat (limited to 'src/services/errors/errors.js')
-rw-r--r--src/services/errors/errors.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/services/errors/errors.js b/src/services/errors/errors.js
index d4cf9132..50372e5e 100644
--- a/src/services/errors/errors.js
+++ b/src/services/errors/errors.js
@@ -26,6 +26,7 @@ export class RegistrationError extends Error {
// the error is probably a JSON object with a single key, "errors", whose value is another JSON object containing the real errors
if (typeof error === 'string') {
error = JSON.parse(error)
+ // eslint-disable-next-line
if (error.hasOwnProperty('error')) {
error = JSON.parse(error.error)
}