-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/819 add api option to get request response printed to log #820
Feature/819 add api option to get request response printed to log #820
Conversation
'<fueloauth>*** TOKEN REMOVED ***</fueloauth>' | ||
); | ||
} else if (msg.headers?.Authorization) { | ||
msg.headers.Authorization = 'Bearer *** TOKEN REMOVED ***'; |
Check failure
Code scanning / CodeQL
Hard-coded credentials
@@ -469,23 +469,27 @@ const Util = { | |||
if (argv.silent) { | |||
// only errors printed to CLI | |||
Util.logger.level = 'error'; | |||
Util.OPTIONS.loggerLevel = 'error'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need this? or can we just set the line above?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the first one we need, the second one we technically don't. I figured it's good practice to have it all in one place though for reference by other classes
PR details
What changes did you make? (Give an overview)
Is there anything you'd like reviewers to focus on?
...
Checklist