From 7d29f883560c291b2ace6969452aadb5457b6e6e Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Wed, 10 Jun 2020 08:46:44 +0000 Subject: [PATCH] fix(core): update --- package.json | 2 +- ts/logdna.classes.logmessage.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 2130243..d8d3ebe 100644 --- a/package.json +++ b/package.json @@ -40,4 +40,4 @@ "npmextra.json", "readme.md" ] -} +} \ No newline at end of file diff --git a/ts/logdna.classes.logmessage.ts b/ts/logdna.classes.logmessage.ts index 6789330..d077ffe 100644 --- a/ts/logdna.classes.logmessage.ts +++ b/ts/logdna.classes.logmessage.ts @@ -72,7 +72,8 @@ export class LogdnaMessage { meta: { ...smartlogPackageArg.context, logType: smartlogPackageArg.type, - correlation: smartlogPackageArg.correlation + correlation: smartlogPackageArg.correlation, + data: smartlogPackageArg.data || {} }, env: smartlogPackageArg.context.environment, hostname: smartlogPackageArg.context.zone,