Skip to content

Commit 7bd6e93

Browse files
committed
Minor syntax tidy.
1 parent bb1b7bf commit 7bd6e93

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,8 @@ export function processRequest(request, { uploadDir } = {}) {
4242
export function apolloUploadKoa(options) {
4343
return async function(ctx, next) {
4444
// Skip if there are no uploads
45-
if (ctx.request.is('multipart/form-data')) {
45+
if (ctx.request.is('multipart/form-data'))
4646
ctx.request.body = await processRequest(ctx.req, options)
47-
}
4847
await next()
4948
}
5049
}

0 commit comments

Comments
 (0)