From 4d3a4b01b3d3c68072e046e76bb162e73f6f6e39 Mon Sep 17 00:00:00 2001 From: Adriano Santos Date: Thu, 12 Oct 2023 13:35:50 -0300 Subject: [PATCH] Rename variable --- lib/src/service.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/service.dart b/lib/src/service.dart index 5906ec1..ae6130b 100644 --- a/lib/src/service.dart +++ b/lib/src/service.dart @@ -26,10 +26,10 @@ class Service { final router = Router(); router.post('/api/v1/actors/actions', (Request request) async { - List byteBody = await request.read().first; + List bodyBuffer = await request.read().first; ActorInvocation actorInvocationRequest = - ActorInvocation.fromBuffer(byteBody); + ActorInvocation.fromBuffer(bodyBuffer); _logger.d("Received Actor Invocation Request: $actorInvocationRequest");