fix: annotate false lgtm hardcoded creds alert (#7069)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
This commit is contained in:
@@ -15,7 +15,10 @@ export default class WeblateBase extends BaseJsonService {
|
||||
|
||||
async fetch(requestParams) {
|
||||
return this._requestJson(
|
||||
this.authHelper.withBearerAuthHeader(requestParams, 'Token')
|
||||
this.authHelper.withBearerAuthHeader(
|
||||
requestParams,
|
||||
'Token' // lgtm [js/hardcoded-credentials]
|
||||
)
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user