Skip to content

Commit

Permalink
fix: replace obsolete property
Browse files Browse the repository at this point in the history
  • Loading branch information
rorlic committed May 8, 2024
1 parent 1a2b02f commit f893984
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/032.ldes-client-to-oauth-server/oauth2.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function introspectAccessToken(r) {
r.return(401); // Unexpected response, return 'auth required'
}

const response = JSON.parse(reply.responseBody);
const response = JSON.parse(reply.responseText);
if (response.active) {
r.return(204); // Token is valid, return success code
} else {
Expand Down

0 comments on commit f893984

Please sign in to comment.