Skip to content

Commit

Permalink
[admin-api] Reduced library error fields for now
Browse files Browse the repository at this point in the history
refs #63
  • Loading branch information
kirrg001 committed Feb 25, 2019
1 parent 3f3185a commit 656f78f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/admin-api/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,9 @@ module.exports = function GhostAdminAPI(options) {
// toThrow.response = err.response;
throw toThrow;
} else {
delete err.request;
delete err.config;
delete err.response;
throw err;
}
});
Expand Down

0 comments on commit 656f78f

Please sign in to comment.