mirror of
https://github.com/certd/certd.git
synced 2026-04-24 04:08:53 +08:00
fix: 修复西部数码账户级别apikey不可用的bug
This commit is contained in:
@@ -37,7 +37,7 @@ export class WestDnsProvider extends AbstractDnsProvider<westRecord> {
|
||||
|
||||
private async doRequestApi(url: string, data: any = null, method = 'post') {
|
||||
if (this.access.scope === 'account') {
|
||||
data.apikey = this.access.apikey;
|
||||
data.apikey = this.ctx.utils.hash.md5(this.access.apikey);
|
||||
data.username = this.access.username;
|
||||
} else {
|
||||
data.apidomainkey = this.access.apidomainkey;
|
||||
|
||||
Reference in New Issue
Block a user