Skip to content

Commit

Permalink
keyの修正
Browse files Browse the repository at this point in the history
  • Loading branch information
azara authored and azara committed Jun 23, 2023
1 parent a6a3058 commit 8de2010
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cdk/lib/challenge4/api/router/routes/functions/listFile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const getListObjects = async (
return content.Key?.split('/').length === 1 || (content.Key?.split('/').length === 2 && content.Key?.split('/')[1] !== '');
})
.map((content) => {
return content.Key;
return content.Key?.split('/')[1];
});

return {
Expand Down

0 comments on commit 8de2010

Please sign in to comment.