Skip to content

Commit

Permalink
fix: inconsistency in asset endpoint nitrojs/nitro#1926
Browse files Browse the repository at this point in the history
  • Loading branch information
amandesai01 committed Aug 10, 2024
1 parent e0c6234 commit c4d3a29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/routes/assets/[key].ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default defineCachedEventHandler(async (event) => {
statusMessage: `No file with name ${key} found.`,
})
}
const asset = await blobStorage.getItemRaw(key);
const asset = await blobStorage.getItem(key);

if (IS_DEV) {
console.log("grabbing asset", key);
Expand Down

0 comments on commit c4d3a29

Please sign in to comment.