Remove email dependency for order
This commit is contained in:
parent
c17d9b9059
commit
ed74b2ecb3
1 changed files with 2 additions and 4 deletions
|
@ -14,11 +14,9 @@ def order():
|
|||
@click.option("--name", envvar="OTP_NAME", required=True)
|
||||
@click.option("--realm", envvar="OTP_REALM", required=True)
|
||||
@click.option("--seed", envvar="OTP_SEED", required=True)
|
||||
@click.option("--email", required=True)
|
||||
def list(name, realm, seed, email):
|
||||
def list(name, realm, seed):
|
||||
data = {
|
||||
**OTPCredentials(name, realm, seed).get_json(),
|
||||
"email": email
|
||||
**OTPCredentials(name, realm, seed).get_json()
|
||||
}
|
||||
r = requests.get("{}/order/list".format(config('UCLOUD_PAY_SERVER')),
|
||||
json=data)
|
||||
|
|
Loading…
Reference in a new issue