From 5eac844a0ef34300e5f243d9ff3ebe6bc850b6f8 Mon Sep 17 00:00:00 2001
From: aurieh <auriteh@gmail.com>
Date: Wed, 28 Dec 2016 13:12:55 +0200
Subject: [PATCH] 	his binding

---
 routes/scan.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/routes/scan.js b/routes/scan.js
index 9305af5..b0af948 100644
--- a/routes/scan.js
+++ b/routes/scan.js
@@ -128,13 +128,13 @@ module.exports = function* scan () {
   debug('received data from SQS');
 
   // Reject incoming data
-  function rejectData (msg) {
+  const rejectData = msg => {
     this.status = 400;
     this.body = {
       code: 400,
       message: msg
     };
-  }
+  };
 
   // Test incoming data
   if (this.req.body.Event === 's3:TestEvent') return rejectData('test event');
-- 
GitLab