Skip to content

Commit 8a28f99

Browse files
committed
fix(arc-saas): changes recommended in review
changes recommended in review GH-34
1 parent c0d7cd0 commit 8a28f99

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

projects/saas-ui/src/app/on-boarding/commands/get-plan.command.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ import {Plan} from '../../shared/models';
88

99
import {IAnyObject} from '@project-lib/core/i-any-object';
1010

11-
export class GetPlanCommand<T> extends GetAPICommand<AnyObject> {
11+
export class GetPlanCommand<T> extends GetAPICommand<AnyObject[]> {
1212
constructor(
1313
apiService: IApiService,
14-
adapter: IAdapter<AnyObject>,
14+
adapter: IAdapter<AnyObject[]>,
1515
appConfig: IAnyObject,
1616
) {
1717
super(

projects/saas-ui/src/app/on-boarding/components/add-tenant/add-tenant.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import {AnyObject} from '@project-lib/core/api';
1717
export class AddTenantComponent implements OnInit {
1818
[x: string]: any;
1919
addTenantForm: FormGroup;
20-
subscriptionPlans: AnyObject = [];
20+
subscriptionPlans: AnyObject[];
2121
leadId = '';
2222
constructor(
2323
private route: ActivatedRoute,

projects/saas-ui/src/app/shared/services/billing-plan-service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export class BillingPlanService {
4747
) {}
4848

4949
getPlanOptions(filter?: BackendFilter<AnyObject>) {
50-
const command: GetPlanCommand<AnyObject> = new GetPlanCommand(
50+
const command: GetPlanCommand<AnyObject[]> = new GetPlanCommand(
5151
this.apiService,
5252
this.anyAdapter,
5353
this.appConfig,

0 commit comments

Comments
 (0)