Code clean-up
This commit is contained in:
parent
e9682c1871
commit
e69f149b4b
5 changed files with 0 additions and 5 deletions
|
@ -21,7 +21,6 @@ export class FullnodeService{
|
||||||
public readonly priceUpdate: Observable<number> = this._priceUpdated.asObservable();
|
public readonly priceUpdate: Observable<number> = this._priceUpdated.asObservable();
|
||||||
public readonly ownerUpdate: Observable<Owner>;
|
public readonly ownerUpdate: Observable<Owner>;
|
||||||
private UserSub: Subscription = new Subscription();
|
private UserSub: Subscription = new Subscription();
|
||||||
private apiKey = 'Le2adeic8Thah4Aeng4daem6i';
|
|
||||||
private reqHeaders: HttpHeaders;
|
private reqHeaders: HttpHeaders;
|
||||||
private owner: Owner = {
|
private owner: Owner = {
|
||||||
_id: '',
|
_id: '',
|
||||||
|
|
|
@ -13,7 +13,6 @@ export class ItemService{
|
||||||
private _itemsUpdated: BehaviorSubject<Item[]> = new BehaviorSubject(this.dataStore.items);
|
private _itemsUpdated: BehaviorSubject<Item[]> = new BehaviorSubject(this.dataStore.items);
|
||||||
public readonly itemsUpdated: Observable<Item[]> = this._itemsUpdated.asObservable();
|
public readonly itemsUpdated: Observable<Item[]> = this._itemsUpdated.asObservable();
|
||||||
private address:string = '';
|
private address:string = '';
|
||||||
private apiKey = 'Le2adeic8Thah4Aeng4daem6i';
|
|
||||||
private reqHeaders: HttpHeaders;
|
private reqHeaders: HttpHeaders;
|
||||||
|
|
||||||
constructor(private http: HttpClient){
|
constructor(private http: HttpClient){
|
||||||
|
|
|
@ -74,7 +74,6 @@ export class OrderService {
|
||||||
public readonly allOrdersUpdate: Observable<Order[]> = this._allOrdersUpdated.asObservable();
|
public readonly allOrdersUpdate: Observable<Order[]> = this._allOrdersUpdated.asObservable();
|
||||||
public userUpdate: Observable<User>;
|
public userUpdate: Observable<User>;
|
||||||
public ownerUpdate: Observable<Owner>;
|
public ownerUpdate: Observable<Owner>;
|
||||||
private apiKey = 'Le2adeic8Thah4Aeng4daem6i';
|
|
||||||
private reqHeaders: HttpHeaders;
|
private reqHeaders: HttpHeaders;
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
|
|
|
@ -61,7 +61,6 @@ export class ReceiptService {
|
||||||
public _nameUpdated: BehaviorSubject<string> = new BehaviorSubject(this.dataStore.owner.name);
|
public _nameUpdated: BehaviorSubject<string> = new BehaviorSubject(this.dataStore.owner.name);
|
||||||
public readonly nameUpdate: Observable<string>= this._nameUpdated.asObservable();
|
public readonly nameUpdate: Observable<string>= this._nameUpdated.asObservable();
|
||||||
public readonly ownerUpdate;
|
public readonly ownerUpdate;
|
||||||
private apiKey = 'Le2adeic8Thah4Aeng4daem6i';
|
|
||||||
private reqHeaders: HttpHeaders;
|
private reqHeaders: HttpHeaders;
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
|
|
|
@ -64,7 +64,6 @@ export class UserService{
|
||||||
public readonly paidUpdate: Observable<boolean> = this._paidUpdated.asObservable();
|
public readonly paidUpdate: Observable<boolean> = this._paidUpdated.asObservable();
|
||||||
public readonly countriesUpdate: Observable<Country[]> = this._countriesUpdated.asObservable();
|
public readonly countriesUpdate: Observable<Country[]> = this._countriesUpdated.asObservable();
|
||||||
private reqHeaders: HttpHeaders;
|
private reqHeaders: HttpHeaders;
|
||||||
private apiKey = 'Le2adeic8Thah4Aeng4daem6i';
|
|
||||||
|
|
||||||
constructor(private http: HttpClient){
|
constructor(private http: HttpClient){
|
||||||
var auth = 'Basic ' + Buffer.from('user:superSecret').toString('base64');
|
var auth = 'Basic ' + Buffer.from('user:superSecret').toString('base64');
|
||||||
|
|
Loading…
Reference in a new issue