Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinehage committed Aug 13, 2022
2 parents b1b5023 + 4e6e6a3 commit 5ebe242
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions bl/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ let bl = {
uracDriver.getRecord(req.soajs, data, function (error, record) {
if (error || !record) {
error = new Error(error.msg);
return cb(bl.handleError(req.soajs, 413, error));
return cb(bl.oauth_urac.handleError(req.soajs, 413, error));
}
let loginMode = bl.oauth_urac.localConfig.loginMode;
if (req.soajs && req.soajs.tenantOauth && req.soajs.tenantOauth.loginMode) {
Expand All @@ -258,7 +258,7 @@ let bl = {
}
options.provision.generateSaveAccessRefreshToken(record, req, (err, accessData) => {
if (err) {
return cb(bl.handleError(req.soajs, 600, err));
return cb(bl.oauth_urac.handleError(req.soajs, 600, err));
}
return cb(null, accessData);
});
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "soajs.oauth",
"description": "soajs oauth service",
"version": "3.0.38",
"version": "3.0.39",
"author": {
"name": "soajs team",
"email": "team@soajs.org"
Expand Down

0 comments on commit 5ebe242

Please sign in to comment.