Skip to content

Commit

Permalink
fix: origin error (#1786)
Browse files Browse the repository at this point in the history
  • Loading branch information
heisenberg-2077 authored Sep 29, 2023
1 parent dbb5f78 commit e76e5f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/background/service/notification.ts
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ class NotificationService extends Events {
};

private getOrigin(data = this.currentApproval?.data) {
return data?.params.origin || data?.origin;
return data?.params?.origin || data?.origin;
}
}

Expand Down

0 comments on commit e76e5f4

Please sign in to comment.