mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 07:37:25 +01:00
add res.respond, fix linting
This commit is contained in:
@@ -252,6 +252,7 @@ function _requestMaker (user, method, additionalSets) {
|
||||
|
||||
if (API_V === 'v3') {
|
||||
return reject({
|
||||
success: err.response.body.success,
|
||||
code: err.status,
|
||||
error: err.response.body.error,
|
||||
message: err.response.body.message,
|
||||
|
||||
Reference in New Issue
Block a user