Skip to content

Commit 26823c1

Browse files
committed
Remove unnecessary async on busboy file handler
Change-type: patch
1 parent eb16e68 commit 26823c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/webresource-handler/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ export const getUploaderMiddlware = (
136136
}
137137
};
138138

139-
bb.on('file', async (fieldname, filestream, info) => {
139+
bb.on('file', (fieldname, filestream, info) => {
140140
if (isAborting) {
141141
filestream.resume();
142142
return;

0 commit comments

Comments
 (0)