Skip to content

Commit

Permalink
oauth, bugfix (#873)
Browse files Browse the repository at this point in the history
  • Loading branch information
larshp committed Apr 3, 2024
1 parent 33b1794 commit ce2f5a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"license": "MIT",
"dependencies": {
"@abaplint/cli": "^2.106.5",
"@abaplint/runtime": "^2.8.22",
"@abaplint/runtime": "^2.8.23",
"@abaplint/database-sqlite": "^2.8.0",
"@abaplint/transpiler-cli": "^2.8.22"
"@abaplint/transpiler-cli": "^2.8.23"
}
}
2 changes: 1 addition & 1 deletion src/oauth2/cl_oauth2_client.clas.abap
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ CLASS cl_oauth2_client IMPLEMENTATION.
DATA lo_client TYPE REF TO cl_oauth2_client.
DATA lv_scope TYPE string.

WRITE '@KERNEL const scopes = abap.OA2P[i_profile.get().toUpperCase()].scopes;'.
WRITE '@KERNEL const scopes = abap.OA2P[i_profile.get().toUpperCase().trimEnd()].scopes;'.
WRITE '@KERNEL lv_scope.set(scopes[0].get());'.

CREATE OBJECT lo_client.
Expand Down

0 comments on commit ce2f5a7

Please sign in to comment.