Skip to content

Commit

Permalink
Issue: #SB-16926 merge: Merge pull request #243 from arfath-gwl/relea…
Browse files Browse the repository at this point in the history
…se-2.6.0

Issue: #SB-16926 fix: getDeviceProfileHandler dependency of deviceReg…
  • Loading branch information
AmiableAnil authored Jan 10, 2020
2 parents d86a93b + 737f645 commit b5b151b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/device-register/impl/device-register-service-impl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ export class DeviceRegisterServiceImpl implements DeviceRegisterService {
@inject(InjectionTokens.APP_INFO) private appInfoService: AppInfo,
@inject(InjectionTokens.API_SERVICE) private apiService: ApiService,
) {
this.getDeviceProfileHandler = new GetDeviceProfileHandler(this.sdkConfig, this.deviceInfo, this.apiService);

this.deviceRegisterHandler = new DeviceRegisterHandler(this.sdkConfig, this.deviceInfo, this.sharedPreferences, this.frameworkService,
this.appInfoService, this.apiService, this.getDeviceProfileHandler);

this.getDeviceProfileHandler = new GetDeviceProfileHandler(this.sdkConfig, this.deviceInfo, this.apiService);
}

registerDevice(request?: DeviceRegisterRequest): Observable<DeviceRegisterResponse> {
Expand Down

0 comments on commit b5b151b

Please sign in to comment.