Skip to content

Commit 548508b

Browse files
apeltopkweinmeisterpattishin
authored
Authorization -> authorization in app.js (#3155)
Fixed a bug where header authorization was not deleted. Co-authored-by: Karl Weinmeister <[email protected]> Co-authored-by: Patti Shin <[email protected]>
1 parent a8d02e4 commit 548508b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eventarc/generic/app.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ app.post('/', (req, res) => {
2121
console.log('Event received!');
2222

2323
console.log('HEADERS:');
24-
delete req.headers.Authorization; // do not log authorization header
24+
delete req.headers.authorization; // do not log authorization header
2525
console.log(JSON.stringify(req.headers));
2626

2727
console.log('BODY:');

0 commit comments

Comments
 (0)