support basic auth with just pass token (#4063)
* feat: support basic auth with token * refactor: change param name
This commit is contained in:
@@ -16,7 +16,10 @@ const latestBuildSchema = Joi.object({
|
||||
|
||||
module.exports = class AzureDevOpsBase extends BaseJsonService {
|
||||
static get auth() {
|
||||
return { passKey: 'azure_devops_token' }
|
||||
return {
|
||||
passKey: 'azure_devops_token',
|
||||
defaultToEmptyStringForUser: true,
|
||||
}
|
||||
}
|
||||
|
||||
async fetch({ url, options, schema, errorMessages }) {
|
||||
|
||||
Reference in New Issue
Block a user