diff --git a/lib/backend/notifications/notification_service.dart b/lib/backend/notifications/notification_service.dart index c5501118..d4efae7c 100644 --- a/lib/backend/notifications/notification_service.dart +++ b/lib/backend/notifications/notification_service.dart @@ -50,15 +50,13 @@ Future onMessageReceived( ), () async { log("payload: $payload"); - await answersRequest - .call( + await answersRequest( context, payload['referencia'].toString(), 'L', 'Mensagem', payload['idVisitante'].toString(), - ) - .then((value) { + ).then((value) { if (value) { context.pop(); context.pop();