From 9e50652806d09b10bbca44dd2d678a666ce1dbd9 Mon Sep 17 00:00:00 2001 From: Ralph Kuepper Date: Sat, 23 Oct 2021 21:32:34 +0200 Subject: [PATCH] update --- Sources/VaporAWSLambdaRuntime/ALB.swift | 1 - Sources/VaporAWSLambdaRuntime/SQS.swift | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Sources/VaporAWSLambdaRuntime/ALB.swift b/Sources/VaporAWSLambdaRuntime/ALB.swift index 2e5ffac..5035b18 100644 --- a/Sources/VaporAWSLambdaRuntime/ALB.swift +++ b/Sources/VaporAWSLambdaRuntime/ALB.swift @@ -24,7 +24,6 @@ struct ALBHandler: EventLoopLambdaHandler { init(application: Application, responder: Responder) { self.application = application - print("responder: ", responder) self.responder = responder } diff --git a/Sources/VaporAWSLambdaRuntime/SQS.swift b/Sources/VaporAWSLambdaRuntime/SQS.swift index ed3afb0..167cf88 100644 --- a/Sources/VaporAWSLambdaRuntime/SQS.swift +++ b/Sources/VaporAWSLambdaRuntime/SQS.swift @@ -25,7 +25,6 @@ struct SQSHandler: EventLoopLambdaHandler { init(application: Application, responder: Responder) { self.application = application - print("responder: ", responder) self.responder = responder } @@ -50,6 +49,7 @@ extension Vapor.Request { convenience init(req: SQS.Event, in ctx: Lambda.Context, for application: Application) throws { let event = req.records.first! + print("incoming events: ", req.records.count) /*var buffer: NIO.ByteBuffer? switch (req.body, req.isBase64Encoded) { case (let .some(string), true):