Skip to content

Commit

Permalink
fix: fixed cannot read prop find of undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
titanism committed Aug 11, 2023
1 parent 70b518e commit ae3556e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/web/my-account/import-aliases.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ async function importAliases(ctx) {

for (const element of forwardingAddresses) {
const match = aliases.find((alias) => alias.name === element.name);
const existing = ctx.state.domain.aliases.find(
const existing = existingAliases.find(
(alias) => alias.name === element.name
);
if (existing)
Expand Down

0 comments on commit ae3556e

Please sign in to comment.