We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d914a8 commit 754021fCopy full SHA for 754021f
packages/lambda-analytic-cloudfront/src/log.reader.ts
@@ -52,8 +52,8 @@ const IsoDateHour = 13; // 2023-06-12:T01
52
* Hide the full API key from the log analytics
53
*/
54
function hideApiKey(str: string): string {
55
- if (str.startsWith('d')) return 'd..' + str.slice(str.length - 6);
56
- if (str.startsWith('c')) return 'c..' + str.slice(str.length - 6);
+ if (str.startsWith('d')) return 'd' + str.slice(str.length - 6);
+ if (str.startsWith('c')) return 'c' + str.slice(str.length - 6);
57
return str;
58
}
59
0 commit comments