We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 667c4f1 commit 425172cCopy full SHA for 425172c
packages/payload/src/uploads/endpoints/getFile.ts
@@ -49,6 +49,9 @@ export const getFileHandler: PayloadHandler = async (req) => {
49
filename,
50
},
51
})
52
+ if (customResponse && customResponse instanceof Response) {
53
+ break
54
+ }
55
}
56
57
if (customResponse instanceof Response) {
0 commit comments