Redact tokens from logs (#6347)

This commit is contained in:
Rijk van Zanten
2021-06-17 10:57:52 -04:00
committed by rijkvanzanten
parent d7835e036a
commit 2868fd6bf6
5 changed files with 46 additions and 23 deletions

View File

@@ -1,3 +1,5 @@
import PinoHttp from '@types/pino-http';
declare module 'grant' {
const grant: any;
export default grant;
@@ -12,3 +14,11 @@ declare module 'exif-reader' {
const exifReader: (buf: Buffer) => Record<string, any>;
export default exifReader;
}
declare module 'pino-http' {
const pinoHttp: PinoHttp;
export default pinoHttp;
export const stdSerializers: {
req: (req: any) => Record<string, any>;
};
}