Added logging to debug.
This commit is contained in:
parent
937a2196c2
commit
6c0ed7bc25
@ -4,7 +4,7 @@ import axios from 'axios';
|
||||
export const handler: Handler = async (event: HandlerEvent, context: HandlerContext) => {
|
||||
try {
|
||||
console.log(JSON.stringify(event.headers));
|
||||
const apiKey = event.headers['Api-Key'];
|
||||
const apiKey = event.headers['api-key'];
|
||||
console.log(apiKey.substring(-5));
|
||||
const query = event.body;
|
||||
console.log(query);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user