From ead715ea92a84e5d7a47a00be1f36cc3a11c29c6 Mon Sep 17 00:00:00 2001 From: Jayden Seric Date: Thu, 23 Jul 2020 00:11:28 +1000 Subject: [PATCH] Minor comment tidy. --- api/server.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/server.js b/api/server.js index 242f47e..9da856f 100644 --- a/api/server.js +++ b/api/server.js @@ -47,7 +47,7 @@ const storeUpload = async (upload) => { }); }); - // In node <= 13, errors are not automatically propagated between piped + // In Node.js <= v13, errors are not automatically propagated between piped // streams. If there is an error receiving the upload, destroy the write // stream with the corresponding error. stream.on('error', (error) => writeStream.destroy(error)); @@ -67,7 +67,7 @@ const server = new ApolloServer({ uploads: { // Limits here should be stricter than config for surrounding // infrastructure such as Nginx so errors can be handled elegantly by - // graphql-upload: + // `graphql-upload`: // https://github.com/jaydenseric/graphql-upload#type-processrequestoptions maxFileSize: 10000000, // 10 MB maxFiles: 20,