Skip to content

Commit b14ca1e

Browse files
committed
fix: ioet#147 Display correct username fix lints
1 parent 720de09 commit b14ca1e

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

src/app/modules/customer-management/components/projects/components/services/project.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export class ProjectService {
1212
projects: Project[] = [];
1313
url = `${environment.timeTrackerApiUrl}/projects`;
1414

15-
constructor(private http: HttpClient, private azureAdB2CService: AzureAdB2CService) {}
15+
constructor(private http: HttpClient) {}
1616

1717
getProjects(): Observable<Project[]> {
1818
return this.http.get<Project[]>(this.url);

src/app/modules/customer-management/services/customer.service.spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ describe('CustomerService', () => {
4545
{ name: 'aa', description: 'bb', tenant_id: 'cc', id: '1' },
4646
{ name: 'xx', description: 'yy', tenant_id: 'zz', id: '2' },
4747
];
48-
const key = 'id';
4948
const url = `${service.baseUrl}/1`;
5049
service.deleteCustomer(customer[0].id).subscribe();
5150
const getCustomerRequest = httpMock.expectOne(url);

src/app/modules/customer-management/services/customer.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { AzureAdB2CService } from 'src/app/modules/login/services/azure.ad.b2c.s
1111
export class CustomerService {
1212
baseUrl = `${environment.timeTrackerApiUrl}/customers`;
1313

14-
constructor(private http: HttpClient, private service: AzureAdB2CService) {}
14+
constructor(private http: HttpClient) {}
1515

1616
createCustomer(customerData): Observable<any> {
1717
return this.http.post(this.baseUrl, customerData);

src/app/modules/customer-management/store/customer-management.selectors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { createFeatureSelector, createSelector } from '@ngrx/store';
2-
import { Customer } from 'src/app/modules/shared/models/customer.model';
2+
33

44
import { CustomerState } from './customer-management.reducers';
55
export const getCustomerState = createFeatureSelector<CustomerState>('customers');

0 commit comments

Comments
 (0)