Commit 1cfea14 1 parent e694227 commit 1cfea14 Copy full SHA for 1cfea14
File tree 4 files changed +0
-35
lines changed
4 files changed +0
-35
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ impl EmailArgs {
18
18
19
19
let request_body = UpdateMe :: build_query ( Variables {
20
20
email : Some ( self . email . clone ( ) ) ,
21
- slot_billing : None ,
22
21
} ) ;
23
22
let res: ResponseData = client. query ( & request_body) . await ?;
24
23
print ! ( "{:?}" , res) ;
Original file line number Diff line number Diff line change 1
1
use self :: { email:: EmailArgs , info:: InfoArgs , login:: LoginArgs } ;
2
- use crate :: command:: auth:: billing:: BillingArgs ;
3
2
use crate :: command:: auth:: fund:: FundArgs ;
4
3
use crate :: command:: auth:: transfer:: TransferArgs ;
5
4
use anyhow:: Result ;
6
5
use clap:: Subcommand ;
7
6
8
- mod billing;
9
7
mod email;
10
8
mod fund;
11
9
mod info;
@@ -24,9 +22,6 @@ pub enum Auth {
24
22
#[ command( about = "Set the email address for the authenticated user." ) ]
25
23
SetEmail ( EmailArgs ) ,
26
24
27
- #[ command( about = "Manage slot billing for the authenticated user." ) ]
28
- EnableSlotBilling ( BillingArgs ) ,
29
-
30
25
#[ command( about = "Fund the authenticated user's account." ) ]
31
26
Fund ( FundArgs ) ,
32
27
@@ -45,7 +40,6 @@ impl Auth {
45
40
Auth :: Info ( args) => args. run ( ) . await ,
46
41
Auth :: CreateSession ( args) => args. run ( ) . await ,
47
42
Auth :: SetEmail ( args) => args. run ( ) . await ,
48
- Auth :: EnableSlotBilling ( args) => args. run ( ) . await ,
49
43
Auth :: Fund ( args) => args. run ( ) . await ,
50
44
Auth :: Transfer ( args) => args. run ( ) . await ,
51
45
}
Original file line number Diff line number Diff line change 1
1
mutation UpdateMe (
2
2
$email : String
3
- $slotBilling : Boolean
4
3
) {
5
4
updateMe (data : {
6
- slotBilling : $slotBilling
7
5
email : $email
8
6
}) {
9
7
username
10
- slotBilling
11
8
email
12
9
}
13
10
}
You can’t perform that action at this time.
0 commit comments