Skip to content

Commit

Permalink
[REMOVED] withError from resume api (#925)
Browse files Browse the repository at this point in the history
Signed-off-by: Zeeshan Mehboob <[email protected]>
  • Loading branch information
zesu22 authored Sep 30, 2024
1 parent 28c1c77 commit 3782a6f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion oidc-ui/src/pages/Consent.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ export default function ConsentPage() {
} else {
const { errors } = await authServices.resume(
transactionId,
params.has("error"),
oAuthDetailsHash
);

Expand Down
4 changes: 2 additions & 2 deletions oidc-ui/src/services/authService.js
Original file line number Diff line number Diff line change
Expand Up @@ -277,11 +277,11 @@ class authService {
return response.data;
};

resume = async (transactionId, withError, oAuthDetailsHash) => {
resume = async (transactionId, oAuthDetailsHash) => {
const requestTime = new Date().toISOString();
const request = {
requestTime,
request: { transactionId, withError },
request: { transactionId },
};

const oauthDetailsHash =
Expand Down

0 comments on commit 3782a6f

Please sign in to comment.