We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30e2527 commit 937adccCopy full SHA for 937adcc
LearnositySDK/Request/Init.cs
@@ -535,18 +535,18 @@ public void addTelemetryData()
535
{
536
if (this.isTelemetryEnabled())
537
538
+ JsonObject meta;
539
if (this.requestPacket.getJsonObject("meta") != null)
540
- JsonObject meta = this.requestPacket.getJsonObject("meta");
541
- meta.set("sdk", this.getSdkMeta());
542
- this.requestPacket.set("meta", meta);
+ meta = this.requestPacket.getJsonObject("meta");
543
}
544
else
545
546
- JsonObject meta = new JsonObject();
547
548
+ meta = new JsonObject();
549
+
+ meta.set("sdk", this.getSdkMeta());
+ this.requestPacket.set("meta", meta);
550
551
552
0 commit comments