Revisions for untitled paste

View the changes made to this paste.

unlisted ⁨1⁩ ⁨file⁩ 2021-06-19 14:52:59 UTC

pastefile1

@@ -0,0 +1,11 @@

+const api = {};
+
+api.createServer = async(args, req) => {
+
+    const { filename, mimetype, createReadStream } = await args.input.bannerFile;
+    console.log(createReadStream);
+    console.log(filename);
+    console.log(mimetype);
+}
+
+module.exports = api;