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");