Skip to content

Commit

Permalink
Disable NotificationService
Browse files Browse the repository at this point in the history
  • Loading branch information
Quangdm-cdm committed Jan 16, 2025
1 parent 1f327e4 commit 21b7dcb
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ export class InappNotificationService implements CronServiceInterface {
}

async validateAndWriteNotificationsToDB (notifications: _BaseNotificationInfo[], address: string) {
return;
const proxyId = this.keyringService.context.belongUnifiedAccount(address) || address;
const accountName = this.keyringService.context.getCurrentAccountProxyName(proxyId);
const passNotifications: _NotificationInfo[] = [];
Expand Down Expand Up @@ -373,7 +374,7 @@ export class InappNotificationService implements CronServiceInterface {

try {
this.status = ServiceStatus.STARTING;
await this.startCron();
// await this.startCron();
this.status = ServiceStatus.STARTED;
} catch (e) {

Expand Down

1 comment on commit 21b7dcb

@saltict
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.