Skip to content

Commit

Permalink
Fix: fixed credit_card variable
Browse files Browse the repository at this point in the history
  • Loading branch information
gracingpro authored and dmitry.nikitin committed Feb 12, 2024
1 parent 7a87922 commit c18aeed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions internal/db/postgres/transformers/masking.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const (
MMobile string = "mobile"
MTelephone string = "tel"
MID string = "id"
MCreditCard string = "credit_cart"
MCreditCard string = "credit_card"
MURL string = "url"
MDefault string = "default"
)
Expand All @@ -50,9 +50,10 @@ var MaskingTransformerDefinition = utils.NewDefinition(
toolkit.MustNewParameter(
"column",
"column name",
).SetIsColumn(toolkit.NewColumnProperties().
SetAffected(true).
SetAllowedColumnTypes("text", "varchar"),
).SetIsColumn(
toolkit.NewColumnProperties().
SetAffected(true).
SetAllowedColumnTypes("text", "varchar"),
).SetRequired(true),

toolkit.MustNewParameter(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const (
MMobile string = "mobile"
MTelephone string = "tel"
MID string = "id"
MCreditCard string = "credit_cart"
MCreditCard string = "credit_card"
MURL string = "url"
MDefault string = "default"
)
Expand Down

0 comments on commit c18aeed

Please sign in to comment.