Skip to content

Commit ec6c5b4

Browse files
committed
fix: lint
1 parent c3c956b commit ec6c5b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tools/sensitive-data-masker/sensitive-data-masker.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { maskString } from 'data-guardian';
1+
import { type SensitiveContentKey, maskString } from 'data-guardian';
22
import ipRegex from 'ip-regex';
33

44
const jwtRegex = /\b([a-zA-Z0-9_=]{5,})\.([a-zA-Z0-9_=]{5,})\.([a-zA-Z0-9_\-\+\/=]{5,})\b/g;
@@ -29,6 +29,6 @@ export function maskSensitiveData({
2929
}, {
3030
excludeMatchers: [...excludedMatchers, ...[
3131
'passwordMention', 'password', 'passwordSubstring',
32-
]],
32+
]] as SensitiveContentKey[],
3333
});
3434
}

0 commit comments

Comments
 (0)