Skip to content

Commit

Permalink
fix: fashion-bestseller lambda path check
Browse files Browse the repository at this point in the history
  • Loading branch information
ReuDa committed Jul 3, 2024
1 parent 1de168c commit 38873b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bestseller-fashion-lambda/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ exports.handler = failureLambda(async function (event, context) {
let responseData = null;
switch (event.httpMethod) {
case "GET":
if (event.resource === "/remote-call") {
if (event.path === "/remote-call") {
const instance = axios.create({
timeout: 3000,
});
Expand Down

0 comments on commit 38873b1

Please sign in to comment.