Skip to content

Commit

Permalink
feat: table name to extension functions (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
kfranqueiro authored Oct 7, 2021
1 parent 6fbb0a9 commit 9f0a8f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class PgAnonymizer extends Command {
};
});

let table = null;
let table: string | null = null;
let indices: Number[] = [];
let cols: string[] = [];

Expand Down Expand Up @@ -150,7 +150,7 @@ class PgAnonymizer extends Command {
return acc[key];
}
return acc;
}, extension)(v);
}, extension)(v, table);
}
return replacement;
}
Expand Down

0 comments on commit 9f0a8f8

Please sign in to comment.