Skip to content

Commit

Permalink
fix(calling): register-event-status-mismatch (#3318)
Browse files Browse the repository at this point in the history
Co-authored-by: Shreyas Sharma <[email protected]>
  • Loading branch information
Shreyas281299 and ShreyasSharma28 authored Jan 22, 2024
1 parent 2bad43f commit 71eb829
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -606,8 +606,8 @@ export class Registration implements IRegistration {
// eslint-disable-next-line no-await-in-loop
const resp = await this.postRegistration(url);
this.deviceInfo = resp.body as IDeviceInfo;
this.lineEmitter(LINE_EVENTS.REGISTERED, resp.body as IDeviceInfo);
this.registrationStatus = RegistrationStatus.ACTIVE;
this.lineEmitter(LINE_EVENTS.REGISTERED, resp.body as IDeviceInfo);
this.setActiveMobiusUrl(url);
this.setIntervalValues(this.deviceInfo);
this.metricManager.setDeviceInfo(this.deviceInfo);
Expand Down

0 comments on commit 71eb829

Please sign in to comment.