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("--name", envvar="OTP_NAME", required=True)
|
||||||
@click.option("--realm", envvar="OTP_REALM", required=True)
|
@click.option("--realm", envvar="OTP_REALM", required=True)
|
||||||
@click.option("--seed", envvar="OTP_SEED", required=True)
|
@click.option("--seed", envvar="OTP_SEED", required=True)
|
||||||
@click.option("--email", required=True)
|
def list(name, realm, seed):
|
||||||
def list(name, realm, seed, email):
|
|
||||||
data = {
|
data = {
|
||||||
**OTPCredentials(name, realm, seed).get_json(),
|
**OTPCredentials(name, realm, seed).get_json()
|
||||||
"email": email
|
|
||||||
}
|
}
|
||||||
r = requests.get("{}/order/list".format(config('UCLOUD_PAY_SERVER')),
|
r = requests.get("{}/order/list".format(config('UCLOUD_PAY_SERVER')),
|
||||||
json=data)
|
json=data)
|
||||||
|
|
Loading…
Reference in a new issue