Merge pull request #209 from constantine2nd/develop

bugfix/Copy Endpoint's Json Response to Clipboard
This commit is contained in:
Simon Redfern 2022-12-08 17:29:41 +01:00 committed by GitHub
commit 85ccdf5ab1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View File

@ -174,4 +174,8 @@ dev.port=8082
## if integrate_with_hydra set to true, all other props must not be empty
# integrate_with_identity_provider=false
# identity_provider_token_endpoint=http://127.0.0.1:4444/oauth2/token
# Please note that next 2 props is obtained at OBP-API portal via Get API Key feature
# oauth2.jws_alg=ES256
# oauth2.jwk_private_key=
# Example of the above value: {"kty":"EC","d":"mQ6yDqYB84z027rZoKnr9JIloX7QqyM0QDScHmWIb-s","use":"sig","crv":"P-256","kid":"c14e9b43-d69b-431e-a90b-eac0dd2e59f8","x":"mNBOFk1w7EYZ194LPCKlNn-NbflCkdxPHGh3VmCj13U","y":"4oXertw5ECdy_ApfG_LG5n92Q9-QlPr9Bt3eM_Z9DeI","alg":"ES256"}
# ------------------------------ Identity Provider OAuth2 Props end --------------------------

View File

@ -294,9 +294,7 @@ function copyJsonResultToClipboard(element) {
// It delays the call by ms milliseconds
function defer(f, ms) {
return function() {
setTimeout(function() {
f.apply(this, arguments);
}, ms);
setTimeout(() => f.apply(this, arguments), ms);
};
}