summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSheogorath2019-10-12 19:48:09 +0200
committerGitHub2019-10-12 19:48:09 +0200
commitce99a79352ea145cfbfc579592b96e53ba843b66 (patch)
tree397c4116580a9d6cd5273c92889ad621e1c4db42 /lib
parentcd34a8c70226a094b5698ae7ab8b3bcd5ce75b41 (diff)
parent7e5bb8a24b4c2ffa643d37cf93328c757fe11f90 (diff)
Merge pull request #199 from SISheogorath/fix/opengraph
Fix broken error template due to missing opengraph
Diffstat (limited to '')
-rw-r--r--lib/response.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/response.js b/lib/response.js
index 7535d266..74d71d52 100644
--- a/lib/response.js
+++ b/lib/response.js
@@ -58,7 +58,8 @@ function responseError (res, code, detail, msg) {
title: code + ' ' + detail + ' ' + msg,
code: code,
detail: detail,
- msg: msg
+ msg: msg,
+ opengraph: []
})
}