Skip to content

Commit

Permalink
fix: merge issue
Browse files Browse the repository at this point in the history
  • Loading branch information
porcellus committed Aug 8, 2024
1 parent 212e6e3 commit c70974b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
7 changes: 0 additions & 7 deletions lib/build/recipe/oauth2provider/recipeImplementation.js
Original file line number Diff line number Diff line change
Expand Up @@ -280,13 +280,6 @@ function getRecipeInterface(querier, _config, appInfo, getDefaultIdTokenPayload,
errorDescription: res.data.error_description,
};
}
if (res.status !== "OK") {
return {
statusCode: res.statusCode,
error: res.data.error,
errorDescription: res.data.error_description,
};
}
return res.data;
},
getOAuth2Clients: async function (input, userContext) {
Expand Down
7 changes: 0 additions & 7 deletions lib/ts/recipe/oauth2provider/recipeImplementation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -258,13 +258,6 @@ export default function getRecipeInterface(
input.userContext
);

if (res.status !== "OK") {
return {
statusCode: res.statusCode,
error: res.data.error,
errorDescription: res.data.error_description,
};
}
if (res.status !== "OK") {
return {
statusCode: res.statusCode,
Expand Down

0 comments on commit c70974b

Please sign in to comment.