Skip to content

Commit

Permalink
bumped version to 3.0.3 & added missing get
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinehage committed May 27, 2020
1 parent 033fc1b commit 9bfaa9f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/tenant/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ var fs = require('fs');

var utils = require("../../utils/utils.js");

const get = (p, o) => p.reduce((xs, x) => (xs && xs[x]) ? xs[x] : null, o);

function checkReturnError(req, mainCb, data, cb) {
if (data.error && data.code) {
if (data.extraDetails) {
Expand Down

0 comments on commit 9bfaa9f

Please sign in to comment.