File tree 1 file changed +2
-2
lines changed
mullvad-daemon/src/device
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -262,7 +262,7 @@ pub struct AccountService {
262
262
263
263
impl AccountService {
264
264
pub fn create_account ( & self ) -> impl Future < Output = Result < AccountToken , rest:: Error > > {
265
- let mut proxy = self . proxy . clone ( ) ;
265
+ let proxy = self . proxy . clone ( ) ;
266
266
let api_handle = self . api_availability . clone ( ) ;
267
267
retry_future (
268
268
move || proxy. create_account ( ) ,
@@ -308,7 +308,7 @@ impl AccountService {
308
308
account_token : AccountToken ,
309
309
voucher : String ,
310
310
) -> Result < VoucherSubmission , Error > {
311
- let mut proxy = self . proxy . clone ( ) ;
311
+ let proxy = self . proxy . clone ( ) ;
312
312
let api_handle = self . api_availability . clone ( ) ;
313
313
let result = retry_future (
314
314
move || proxy. submit_voucher ( account_token. clone ( ) , voucher. clone ( ) ) ,
You can’t perform that action at this time.
0 commit comments